Pulsar::Integration::Expert Class Reference

Provides access to private and protected members of Integration. More...

#include <IntegrationExpert.h>

Inheritance diagram for Pulsar::Integration::Expert:
Reference::Able Reference::HeapTracked

Public Member Functions

 Expert (Integration *inst)
 
void set_nbin (unsigned numbins)
 Set the number of pulsar phase bins.
 
unsigned get_nbin () const
 
void set_nchan (unsigned numchan)
 Set the number of frequency channels.
 
unsigned get_nchan () const
 
void set_npol (unsigned numpol)
 Set the number of polarization measurements.
 
unsigned get_npol () const
 
void resize (unsigned npol=0, unsigned nchan=0, unsigned nbin=0)
 Set the dimensions of the data container.
 
void remove (unsigned ichan)
 Remove the specified channel.
 
void insert (Integration *from)
 Inserts Profiles from Integration into this.
 
void rotate (double time)
 Rotate each profile by time (in seconds); updates the epoch attribute.
 
void rotate_phase (double phase)
 Rotate each profile by phase; does not update the epoch attribute.
 
void fscrunch (unsigned nscrunch=0)
 Integrate profiles from neighbouring chans.
 
void pscrunch ()
 Integrate profiles from single polarizations into one total intensity.
 
void dedisperse (unsigned ichan, unsigned kchan, double f0)
 Dedispersion worker function.
 
void defaraday (unsigned ichan, unsigned kchan, double f0)
 Defaraday worker function.
 
void swap_profiles (unsigned ipol, unsigned ichan, unsigned jpol, unsigned jchan)
 Swap the two specified Profiles.
 
void copy (const Integration *subint, bool management=true)
 Copy the data from 'from' into 'this'.
 
void combine (const Integration *from)
 Combine the data from 'from' into 'this'.
 
void transform (const Jones< float > &response)
 Perform the congruence transformation on each polarimetric profile.
 
void transform (const std::vector< Jones< float > > &response)
 Perform frequency response on each polarimetric profile.
 
void convert_state (Signal::State state)
 Convert polarimetric data to the specified state.
 
void set_zero_phase_aligned (bool flag)
 Leading edge of phase bin zero = polyco predicted phase zero.
 
std::vector< std::vector< Reference::To< Profile > > > & profiles ()
 Use with care.
 
bool has_parent () const
 Return true if the Integration has a parent Archive.
 
const Archiveget_parent () const
 Provide access to the parent Archive.
 
- Public Member Functions inherited from Reference::Able
 Able (const Able &)
 
Ableoperator= (const Able &)
 
unsigned get_reference_count () const
 
- Public Member Functions inherited from Reference::HeapTracked
 HeapTracked (const HeapTracked &)
 
HeapTrackedoperator= (const HeapTracked &)
 
bool __is_on_heap () const
 

Additional Inherited Members

- Static Public Member Functions inherited from Reference::Able
static size_t get_instance_count ()
 
- Static Public Member Functions inherited from Reference::HeapTracked
static void * operator new (size_t size, void *ptr=0)
 
static void operator delete (void *location, void *ptr)
 
static void operator delete (void *location)
 
static size_t get_heap_queue_size ()
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Detailed Description

Provides access to private and protected members of Integration.

Some methods of the Integration class are protected or private only so that they may not be naively called. This class provides access to developers without the need to:

  • unprotect methods, or
  • make friends with every class or function that requires access

The documentation for this class was generated from the following file:

Generated using doxygen 1.8.17