PSRCHIVE
| Ask a Question | Search PSRCHIVE: |
Home
|
Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
Pulsar::BasicArchive Class Reference Defines the pure virtual methods declared in Pulsar::Archive. More...
Inheritance diagram for Pulsar::BasicArchive:
Detailed DescriptionDefines the pure virtual methods declared in Pulsar::Archive. This class is designed to make it easier to develop new objects of type Pulsar::Archive. It is a minimal implimentation of the Pulsar::Archive class that defines a set of variables which can be used to store the important information required by the Pulsar::Archive class. It also defines most of the pure virtual methods required. If a user wishes to work with data from a new instrument, they can start with the BasicArchive class and simply define the load and unload functions to perform file I/O. This should simply be a matter of reading from the file and plugging information into the variables defined in this class. It is possible for the user to add as many more features to their new class as required. Member Function Documentation◆ ensure_linkage()
Ensure that BasicArchive code is linked. This method is called in Archive::load only to ensure that the BasicArchive object code is linked for use by plugin classes. ◆ get_bandwidth()
Get the overall bandwidth of the observation. Return the bandwidth of the observation. Implements Pulsar::Archive. References bandwidth. Referenced by Pulsar::FITSArchive::load_Integration(), Pulsar::WAPPArchive::load_Integration(), Pulsar::FITSArchive::unload_file(), Pulsar::FITSArchive::unload_integrations(), and Pulsar::FITSArchive::update_history(). ◆ get_centre_frequency()
Get the centre frequency of the observation. Return the centre frequency of the observation. Implements Pulsar::Archive. References centre_frequency. Referenced by Pulsar::FITSArchive::load_Integration(), Pulsar::WAPPArchive::load_Integration(), Pulsar::WAPPArchive::load_polycos(), Pulsar::FITSArchive::unload_file(), Pulsar::FITSArchive::unload_integrations(), and Pulsar::FITSArchive::update_history(). ◆ get_coordinates()
Get the coordinates of the source. Implements Pulsar::Archive. References coordinates. Referenced by Pulsar::ASPArchive::load_Integration(), Pulsar::FITSArchive::load_Pointing(), and Pulsar::FITSArchive::unload_file(). ◆ get_dedispersed()
Inter-channel dispersion delay has been removed. Implements Pulsar::Archive. References dedispersed. Referenced by Pulsar::FITSArchive::update_history(). ◆ get_dispersion_measure()
Get the dispersion measure (in Get the centre frequency of the observation. Implements Pulsar::Archive. References dispersion_measure. Referenced by Pulsar::PRESTOArchive::load_Integration(), Pulsar::ASCIIArchive::unload_file(), Pulsar::FITSArchive::unload_integrations(), and Pulsar::FITSArchive::update_history(). ◆ get_faraday_corrected()
data have been corrected for ISM faraday rotation Return true when the data have been corrected for ISM Faraday rotation. Implements Pulsar::Archive. References faraday_corrected. Referenced by Pulsar::FITSArchive::update_history(). ◆ get_nbin()
Get the number of pulsar phase bins used. This attribute may be set only through Archive::resize Implements Pulsar::Archive. References nbin. Referenced by Pulsar::pdv_KtZ_Archive::load_header(), Pulsar::UVMArchive::load_header(), Pulsar::ASCIIArchive::load_Integration(), Pulsar::BPPArchive::load_Integration(), Pulsar::FITSArchive::load_Integration(), Pulsar::ASCIIArchive::unload_file(), Pulsar::FITSArchive::unload_integrations(), and Pulsar::FITSArchive::update_history(). ◆ get_nchan()
Get the number of frequency channels used. This attribute may be set only through Archive::resize Implements Pulsar::Archive. References nchan. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::pdv_KtZ_Archive::load_header(), Pulsar::BPPArchive::load_Integration(), Pulsar::FITSArchive::load_Integration(), Pulsar::ASCIIArchive::unload_file(), Pulsar::FITSArchive::unload_file(), Pulsar::FITSArchive::unload_integrations(), and Pulsar::FITSArchive::update_history(). ◆ get_npol()
Get the number of frequency channels used. Get the number of frequency polns used. This attribute may be set only through Archive::resize Implements Pulsar::Archive. References npol. Referenced by Pulsar::pdv_KtZ_Archive::load_header(), Pulsar::UVMArchive::load_header(), Pulsar::ASCIIArchive::load_Integration(), Pulsar::BPPArchive::load_Integration(), Pulsar::ASCIIArchive::unload_file(), Pulsar::FITSArchive::unload_integrations(), and Pulsar::FITSArchive::update_history(). ◆ get_nsubint()
Get the number of sub-integrations stored in the file. Get the number of sub-integrations in the archive. This attribute may be set only through Archive::resize Implements Pulsar::IntegrationManager. References nsubint. Referenced by Pulsar::FITSArchive::add_Pointing_columns(), Pulsar::FITSArchive::clean_Pointing_columns(), Pulsar::pdv_KtZ_Archive::load_header(), Pulsar::FITSArchive::unload(), Pulsar::ASCIIArchive::unload_file(), Pulsar::FITSArchive::unload_file(), and Pulsar::FITSArchive::update_history(). ◆ get_poln_calibrated()
Data has been poln calibrated. Implements Pulsar::Archive. References poln_calibrated. Referenced by Pulsar::FITSArchive::update_history(). ◆ get_rotation_measure()
Get the rotation measure (in Implements Pulsar::Archive. References rotation_measure. Referenced by Pulsar::FITSArchive::unload_integrations(), and Pulsar::FITSArchive::update_history(). ◆ get_scale()
Get the scale in which flux density is measured. Return the polarisation scale of the data. Implements Pulsar::Archive. References scale. Referenced by Pulsar::FITSArchive::update_history(). ◆ get_source()
Get the source name. Implements Pulsar::Archive. References source. Referenced by Pulsar::WAPPArchive::load_polycos(), Pulsar::ASCIIArchive::unload_file(), and Pulsar::FITSArchive::unload_file(). ◆ get_state()
Get the state of the profiles. Return the polarisation state of the data. Implements Pulsar::Archive. References state. Referenced by Pulsar::FITSArchive::update_history(). ◆ get_telescope()
Get the name of the telescope Implements Pulsar::Archive. References telescope. Referenced by Pulsar::ASPArchive::load_extensions(), Pulsar::BPPArchive::load_extensions(), Pulsar::FITSArchive::load_header(), Pulsar::ASCIIArchive::unload_file(), and Pulsar::FITSArchive::unload_file(). ◆ get_type()
Get the observation type (psr, cal) Return the type of observation (psr, cal, etc.) Implements Pulsar::Archive. References type. Referenced by Pulsar::ASPArchive::load_extensions(), Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::FITSArchive::load_header(), Pulsar::WAPPArchive::load_header(), Pulsar::WAPPArchive::load_Integration(), and Pulsar::FITSArchive::unload_file(). ◆ new_Integration()
Return a pointer to a new BasicIntegration. By over-riding this funciton, inherited types may re-define the type of Integration to which the elements of the subints vector point. Implements Pulsar::IntegrationManager. Reimplemented in Pulsar::EPOSArchive. Referenced by Pulsar::FITSArchive::load_Integration(). ◆ set_bandwidth()
Set the overall bandwidth of the observation. Set the bandwidth of the observation. Implements Pulsar::Archive. References bandwidth. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::FITSArchive::load_header(), Pulsar::PRESTOArchive::load_header(), Pulsar::WAPPArchive::load_header(), and Pulsar::FITSArchive::load_state(). ◆ set_centre_frequency()
Set the centre frequency of the observation. Implements Pulsar::Archive. References centre_frequency. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::FITSArchive::load_header(), Pulsar::PRESTOArchive::load_header(), Pulsar::WAPPArchive::load_header(), and Pulsar::FITSArchive::load_state(). ◆ set_coordinates()
Set the coordinates of the source. Implements Pulsar::Archive. References coordinates. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::FITSArchive::load_header(), and Pulsar::WAPPArchive::load_header(). ◆ set_dedispersed()
Set the status of the dispersion delay flag. Set true when the inter-channel dispersion delay has been removed. Implements Pulsar::Archive. References dedispersed. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::PRESTOArchive::load_header(), and Pulsar::WAPPArchive::load_header(). ◆ set_dispersion_measure()
Set the dispersion measure (in Set the centre frequency of the observation. Implements Pulsar::Archive. References dispersion_measure. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::PRESTOArchive::load_header(), Pulsar::WAPPArchive::load_header(), and Pulsar::FITSArchive::load_state(). ◆ set_faraday_corrected()
Set the status of the ISM RM flag. Set true when the data have been corrected for ISM Faraday rotation. Implements Pulsar::Archive. References faraday_corrected. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::PRESTOArchive::load_header(), and Pulsar::WAPPArchive::load_header(). ◆ set_nbin()
Set the number of pulsar phase bins used. This attribute may be set only through Archive::resize Implements Pulsar::Archive. References nbin. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::PRESTOArchive::load_header(), Pulsar::WAPPArchive::load_header(), and Pulsar::FITSArchive::load_state(). ◆ set_nchan()
Set the number of frequency channels used. This attribute may be set only through Archive::resize Implements Pulsar::Archive. References nchan. Referenced by Pulsar::ASCIIArchive::load_header(), Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::PRESTOArchive::load_header(), Pulsar::WAPPArchive::load_header(), and Pulsar::FITSArchive::load_state(). ◆ set_npol()
Set the number of frequency channels used. Set the number of frequency polns used. This attribute may be set only through Archive::resize Implements Pulsar::Archive. References npol. Referenced by Pulsar::ASCIIArchive::load_header(), Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::PRESTOArchive::load_header(), Pulsar::WAPPArchive::load_header(), and Pulsar::FITSArchive::load_state(). ◆ set_nsubint()
Set the number of sub-integrations stored in the file. Set the number of sub-integrations in the archive. This attribute may be set only through Archive::resize Implements Pulsar::IntegrationManager. References nsubint. Referenced by Pulsar::ASCIIArchive::hashed_header(), Pulsar::ASCIIArchive::load_header(), Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::PRESTOArchive::load_header(), and Pulsar::WAPPArchive::load_header(). ◆ set_poln_calibrated()
Set the status of the poln calibrated flag. Implements Pulsar::Archive. References poln_calibrated. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::PRESTOArchive::load_header(), and Pulsar::WAPPArchive::load_header(). ◆ set_rotation_measure()
Set the rotation measure (in Implements Pulsar::Archive. References rotation_measure. Referenced by Pulsar::FITSArchive::load_state(). ◆ set_scale()
Set the scale in which flux density is measured. Set the polarisation scale of the data. Implements Pulsar::Archive. References scale. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::PRESTOArchive::load_header(), and Pulsar::WAPPArchive::load_header(). ◆ set_source()
Set the source name. Implements Pulsar::Archive. References source. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::FITSArchive::load_header(), Pulsar::pdv_KtZ_Archive::load_header(), Pulsar::PRESTOArchive::load_header(), and Pulsar::WAPPArchive::load_header(). ◆ set_state()
Set the state of the profiles. Set the polarisation state of the data. Implements Pulsar::Archive. References state. Referenced by Pulsar::ASCIIArchive::load_header(), Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::pdv_KtZ_Archive::load_header(), Pulsar::PRESTOArchive::load_header(), Pulsar::UVMArchive::load_header(), and Pulsar::WAPPArchive::load_header(). ◆ set_telescope()
Set the name of the telescope Implements Pulsar::Archive. References telescope. Referenced by Pulsar::ASCIIArchive::hashed_header(), Pulsar::ASPArchive::load_extensions(), Pulsar::BPPArchive::load_extensions(), Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::FITSArchive::load_header(), Pulsar::PRESTOArchive::load_header(), and Pulsar::WAPPArchive::load_header(). ◆ set_type()
Set the observation type (psr, cal) Set the observation type (psr, cal etc.) Implements Pulsar::Archive. References type. Referenced by Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::EPOSArchive::load_header(), Pulsar::ExampleArchive::load_header(), Pulsar::FITSArchive::load_header(), Pulsar::PRESTOArchive::load_header(), and Pulsar::WAPPArchive::load_header(). Member Data Documentation◆ nbin
The number of pulsar phase bins used. This attribute may be set only through Archive::resize Referenced by BasicArchive(), get_nbin(), Pulsar::ASCIIArchive::hashed_header(), Pulsar::ASCIIArchive::load_header(), Pulsar::pdv_KtZ_Archive::load_header(), Pulsar::UVMArchive::load_header(), Pulsar::ASPArchive::load_Integration(), Pulsar::EPOSArchive::load_Integration(), Pulsar::ExampleArchive::load_Integration(), Pulsar::PRESTOArchive::load_Integration(), Pulsar::WAPPArchive::load_Integration(), Pulsar::FITSArchive::load_state(), and set_nbin(). ◆ nchan
The number of frequency channels used. This attribute may be set only through Archive::resize Referenced by BasicArchive(), get_nchan(), Pulsar::ASPArchive::load_header(), Pulsar::BPPArchive::load_header(), Pulsar::pdv_KtZ_Archive::load_header(), Pulsar::UVMArchive::load_header(), Pulsar::ASPArchive::load_Integration(), Pulsar::EPOSArchive::load_Integration(), Pulsar::ExampleArchive::load_Integration(), Pulsar::FITSArchive::load_Integration(), Pulsar::PRESTOArchive::load_Integration(), Pulsar::WAPPArchive::load_Integration(), Pulsar::FITSArchive::load_state(), set_nchan(), Pulsar::FITSArchive::unload(), Pulsar::FITSArchive::unload(), Pulsar::FITSArchive::unload(), Pulsar::FITSArchive::unload(), Pulsar::FITSArchive::unload(), Pulsar::FITSArchive::unload(), Pulsar::FITSArchive::unload(), Pulsar::FITSArchive::unload_Integration(), and Pulsar::FITSArchive::unload_integrations(). ◆ npol
The number of frequency channels used. This attribute may be set only through Archive::resize Referenced by BasicArchive(), get_npol(), Pulsar::BPPArchive::load_header(), Pulsar::pdv_KtZ_Archive::load_header(), Pulsar::UVMArchive::load_header(), Pulsar::ASPArchive::load_Integration(), Pulsar::EPOSArchive::load_Integration(), Pulsar::ExampleArchive::load_Integration(), Pulsar::WAPPArchive::load_Integration(), Pulsar::FITSArchive::load_state(), set_npol(), Pulsar::FITSArchive::unload(), and Pulsar::FITSArchive::unload(). ◆ nsubint
The number of sub-integrations stored in the file. This attribute may be set only through Archive::resize Referenced by BasicArchive(), get_nsubint(), Pulsar::pdv_KtZ_Archive::load_header(), set_nsubint(), Pulsar::FITSArchive::unload_file(), Pulsar::FITSArchive::unload_integrations(), and Pulsar::FITSArchive::unload_sk_integrations(). The documentation for this class was generated from the following files:
Generated using doxygen 1.14.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||