Ask a Question | Search PSRCHIVE: |
Home
|
Classes |
Public Types |
Public Member Functions |
Static Public Member Functions |
Static Public Attributes |
Protected Member Functions |
Protected Attributes |
List of all members
Pulsar::Database Class Reference Pulsar Observation Database. More...
Inheritance diagram for Pulsar::Database:
Detailed DescriptionMember Enumeration Documentation◆ SequenceCalibrator matching sequence. Different level-setting strategies may dictate the policy for matching an observation with the right calibrator
Constructor & Destructor Documentation◆ Database()
Construct a database from archives in a directory. This constructor scans the given directory for calibrator files ending in the extensions specified in the second argument. References construct(), and Pulsar::Calibrator::verbose. Member Function Documentation◆ add()
Add the given entry to the database. Add the given Archive to the database. References get_filename(). ◆ criteria()
Return the Criteria for the specified Pulsar::Archive. Returns one Entry that matches the given parameters and is nearest in time. References Any, Signal::Calibrator, criteria(), Pulsar::Database::Criteria::entry, get_default_criteria(), Pulsar::Calibrator::Type::is_a(), long_time_scale, Pulsar::Database::Criteria::no_data(), Pulsar::Database::Criteria::set_sequence(), and short_time_scale. ◆ generateFluxCalibrator()
Return a pointer to a new FluxCalibrator for the given archive. This routine is given a pointer to a Pulsar::Archive. It scans the database for all FluxCal observations that were made within one month of the observation mid-time and uses these to construct a Pulsar::FluxCalibrator class which can then be used to perform a flux calibration of the original pulsar observation. References best_match(), cache_last_cal, criteria(), get_filename(), Pulsar::Archive::load(), Reference::To< class, active >::release(), and Pulsar::Calibrator::verbose. ◆ generatePolnCalibrator()
Return a pointer to a new PolnCalibrator for the given archive. This routine is given a pointer to a Pulsar::Archive. It scans the database for all PolnCal observations from the same part of sky that were made within 8 hours of the observation mid-time and uses these to construct a Pulsar::PolnCalibrator class which can then be used to perform a polarisation calibration of the original pulsar observation. References Pulsar::Database::Criteria::best(), best_match(), cache_last_cal, Signal::Calibrator, criteria(), Pulsar::ReferenceCalibrator::factory(), feed, generateHybridCalibrator(), get_closest_match_report(), get_filename(), Pulsar::Archive::load(), Signal::PolnCal, Reference::To< class, active >::release(), Signal::Unknown, and Pulsar::Calibrator::verbose. ◆ get_default_criteria()
Get the default matching criteria for all observations. Get the default matching criteria for PolnCal observations. Referenced by criteria(). ◆ get_path()
Returns the full path to the database summary file. Returns the full pathname of the Entry filename. ◆ load()
Read a text file summary and construct a database. Loads an entire database from a file. References add(), expand_filename(), and Pulsar::Calibrator::verbose. Referenced by Database(). ◆ unload()
Write a text file representing the database to disk for storage. Unloads entire database to file. References shorten_filename(). Member Data Documentation◆ any
Pass this to the criteria methods to retrieve any or all matches. This null parameter is intended only to improve code readability ◆ long_time_scale
Time scale over which calibrator flux and cross-coupling remain stable. By default, the long time scale is set to four weeks. Referenced by criteria(). ◆ max_angular_separation
Maximum angular separation between calibrator and pulsar. By default, the maximum angular separation is 5 degrees Referenced by Pulsar::Database::Criteria::Criteria(). ◆ max_bandwidth_difference
Maximum difference between calibrator and pulsar bandwidths. By default, the maximum bandwidth difference is 1 Hz ◆ max_centre_frequency_difference
Maximum difference between calibrator and pulsar centre frequencies. By default, the maximum centre frequency difference is 1 Hz ◆ short_time_scale
Time scale over which differential gain and phase remain stable. By default, the short time scale is set to two hours. Referenced by Pulsar::Database::Criteria::Criteria(), and criteria(). The documentation for this class was generated from the following files:
Generated using doxygen 1.8.17
|