lvmsurveysim.telescope¶
- class lvmsurveysim.telescope.Telescope(name, diameter=None, f=None)[source]¶
Bases:
object
A class to represent a telescope.
Holds information about a specific telescope such as diameter and focal ratio. Calculates derived quantities such as focal length and plate scale. A
Telescope
object can be instantiated with a name followed by a series of values, or just with the name. In the latter case the necessary information must be contained in the configuration file, under thetelescopes
field.- Parameters
- classmethod from_config(name)[source]¶
Loads a telescope configuration from the configuration file.
Example
>>> lvm160 = Telescope.from_config('LVM-160)
- property focal_length¶
Returns the focal length of the telescope.