SAOexaminer

class Data_Reduction.DSN.SAO.SAOexaminer(project=None, dss=None, date=None)

Bases: object

Class for examining SAOdataset objects

Methods Summary

beam_switched_average([index, mode])

Returns pol average spectrum and total integration of given dataset(s)

extract_window(xlimits[, dsetidx, frame])

Extracts a subset of a avg_diff spectrum

get_datasets([project, dss, date])

Loads selected datasets and defines additional attributes.

get_obs_dirs([project, dss, date, rawfmt])

Gets the directories used for an observing session.

load_HDF5_files([project, dss, date])

load_ephemeris(sourcename)

Loads the ephemeris and returns a spline for the radial velocity with date

Methods Documentation

beam_switched_average(index=None, mode='LINE-PBSW')

Returns pol average spectrum and total integration of given dataset(s)

Also computes the average spectrum and total integration time for each pol and accumulates them in the SAOexaminer attributes avg_diff and tau.

:param index : dataset index :type index : int

:param mode : observing mode (which aught to be in the header) :type mode : str

extract_window(xlimits, dsetidx=None, frame='RADI-LSR')

Extracts a subset of a avg_diff spectrum

get_datasets(project=None, dss=None, date=None)

Loads selected datasets and defines additional attributes.

:param project : the project for which the observations were made :type project : str

:param dss : DSN station number :type dss : int

:param date : year and day of year as YYYY/DDD :type data : str

get_obs_dirs(project=None, dss=None, date=None, rawfmt='HDF5')

Gets the directories used for an observing session.

If the session details are not provided, a menu-based inquiry is made

The attribute rawdatapath is also computed but not returned.

:param project : the project for which the observations were made :type project : str

:param dss : DSN station number :type dss : int

:param date : year and day of year as YYYY/DDD :type data : str

:param raw : get HDF5 data from RA_data store if True :type raw : bool

load_HDF5_files(project=None, dss=None, date=None)
load_ephemeris(sourcename)

Loads the ephemeris and returns a spline for the radial velocity with date