read_atmosphere_profile_from_simtel#
- ctapipe.io.simteleventsource.read_atmosphere_profile_from_simtel(simtelfile: str | Path | SimTelFile, kind=AtmosphereProfileKind.AUTO) TableAtmosphereDensityProfile | None [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