ObservationParameters#

class VSPEC.params.observation.ObservationParameters(observation_time: astropy.units.Quantity, integration_time: astropy.units.Quantity)#

Bases: BaseParameters

Class storing parameters for observations.

Parameters:
total_images#
observation_time#

The total duration of the observation.

Type:

astropy.units.Quantity

integration_time#

The integration time of each epoch of observation.

Type:

astropy.units.Quantity

Raises:

ValueError – If the integration time is longer than the total observation time.

property total_images: int#

Total number of images based on the observation time and integration time.

Returns:

The total number of images.

Return type:

int