SofiaGyroDriftsInfo¶
- class sofia_redux.scan.custom.sofia.info.gyro_drifts.SofiaGyroDriftsInfo[source]¶
Bases:
InfoBase
Initialize the SOFIA gyro drift information.
Contains information on the SOFIA gyro drifts and provides methods to correct integrations/scans.
Attributes Summary
Return the length of each drift (utc range).
Return the string log ID for the info.
Return the number of drifts (utc ranges) available.
Methods Summary
Read the FITS header options and create drifts.
Apply the configuration to the information.
correct
(integration)Apply the gyro drift corrections to an integration.
Return the offsets for all drifts.
Return the drift UTC ranges.
get_max
()Return the maximum drift.
get_rms
()Return the drift RMS.
get_table_entry
(name)Return a parameter value for the given name.
validate_time_range
(scan)Ensure the UTC time ranges for each drift are correct.
Attributes Documentation
- lengths¶
Return the length of each drift (utc range).
- Returns:
- astropy.units.Quantity (numpy.array)
An array containing the length of each drift.
- log_id¶
Return the string log ID for the info.
The log ID is used to extract certain information from table data.
- Returns:
- str
- n_drifts¶
Return the number of drifts (utc ranges) available.
- Returns:
- int
Methods Documentation
- correct(integration)[source]¶
Apply the gyro drift corrections to an integration.
Equatorial offsets are added to the integration frames.
- Parameters:
- integrationIntegration
- Returns:
- None
- get_drift_deltas()[source]¶
Return the offsets for all drifts.
- Returns:
- astropy.units.Quantity (numpy.ndarray)