read_atmosphere_profile_from_simtel

ctapipe.io.simteleventsource.read_atmosphere_profile_from_simtel(simtelfile: Union[str, pathlib.Path, eventio.simtel.simtelfile.SimTelFile], kind=<AtmosphereProfileKind.AUTO: 4>)Optional[ctapipe.atmosphere.TableAtmosphereDensityProfile][source]

Read an atmosphere profile from a SimTelArray file as an astropy Table

Parameters
simtelfile: str | SimTelFile

filename of a SimTelArray file containing an atmosphere profile

kind: AtmosphereProfileKind | str

which type of model to load. In AUTO mode, table is tried first, and if it doesn’t exist, fivelayer is used.

Returns
Optional[TableAtmosphereDensityProfile]:

Profile read from a table, with interpolation