Class to hold information about an observer.
Class to hold comments from the LWA object office. This class isn’t really needed to create ID files, but it is helpful for parsing ID files.
Class to hold all the information about a specific interferometer run for a project/proposal.
Add a new run to the list of runs.
Convert the ID file into a collection of lsl.common.sdfADP.Project instances that can be used to write SD files.
Create a run definition file that corresponds to the specified run. Returns the ID file’s contents as a string.
Update the various runs that are part of this project.
Examine all of the runs and all of their scans to check for validity. If everything is valid, return True. Otherwise, return False.
Create a run definition file that corresponds to the specified run and write it to the provided filename.
Class to hold all of the scans in an interferometer run.
Add a new Scan to the list of scans.
Set the correlator output polarization basis.
Set the number of spectrometer channels to generate, 0 to disable.
Set the number of spectrometer FFT integrations to use, 0 to disable.
Set the data return method for the run. Valid values are: UCF, DRSU, and ‘USB Harddrives’.
Update the stations used by the project for source computations.
Set the username to use for UCF data copies.
Update the various scans in the run.
Examine all of the scans associated with the run to check for validity. If everything is valid, return True. Otherwise, return False.
Class to hold the specifics of a scans. It currently handles TRK_RADEC, TRK_SOL, and TRK_JOV.
Add an alternate phase center to the scan.
Return the fractional visibility of the target during the scan period.
Estimate the data volume for the specified type and duration of scans. For DRX:
bytes = duration * sampleRate / 4096 * 4128 bytes * 2 tunings * 2 pols.
Parse the self.duration string with the format of HH:MM:SS.SSS to return the number of milliseconds in that period.
Return an ephem.Body object corresponding to where the scan is pointed. None if the scan mode is TBN.
Return the number of “tuning words” corresponding to the first frequency.
Return the number of “tuning words” corresponding to the second frequency.
Return the modified Julian Date corresponding to the date/time of the self.start string.
Return the number of milliseconds between the date/time specified in the self.start string and the previous UT midnight.
Set the scan duration.
Set the frequency in Hz corresponding to tuning 1.
Set the frequency in Hz correpsonding to tuning 2.
Set the scan start time.
Update the computed parameters from the string values.
Evaluate the scan and return True if it is valid, False otherwise.
Set the pointing Dec.
Set the proper motion of the target in mas/yr.
Set the pointing RA.
Sub-class of DRX specifically for Solar DRX scans. It features a reduced number of parameters needed to setup the scan.
Return an ephem.Body object corresponding to where the scan is pointed. None if the scan mode is TBN.
Sub-class of DRX specifically for Jovian DRX scans. It features a reduced number of parameters needed to setup the scan.
Return an ephem.Body object corresponding to where the scan is pointed. None if the scan mode is TBN.
Given a filename, read the file’s contents into the IDF instance and return that instance.
Given a scan, get the start and stop times (returned as a two- element tuple of UTC datetime instances).
Given a filename, see if it is valid IDF file or not.