Provides access to transposed Archive data. More...

#include <Transposer.h>

Inheritance diagram for Pulsar::Transposer:
Pulsar::Algorithm Reference::Able Reference::HeapTracked

Public Member Functions

 Transposer (const Archive *archive=0)
 Default constructor.
 
 ~Transposer ()
 Destructor.
 
void set_Archive (const Pulsar::Archive *archive)
 Set the Archive from which data will be read.
 
void set_dim (unsigned idim, Signal::Dimension dim)
 Set the specified dimension.
 
unsigned get_ndim (unsigned idim)
 Get the size of the specified dimension.
 
Dimensions get_stride (const Dimensions &dimensions) const
 Get the stride, given the specified Archive Dimensions.
 
Dimensions get_stride () const
 Get the stride.
 
void get_amps (std::vector< float > &amps) const
 Returns amplitude data; ordered according to the specified dimension.
 
void get_amps (const Integration *, float *, const Dimensions &stride) const
 Fill the array according to the dimensions specified by stride.
 
void get_amps (const Profile *, float *, unsigned jbin) const
 Fill the array according to the dimensions specified by stride, jbin.
 
- 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
 

Public Attributes

bool verbose
 verbosity flag
 

Protected Member Functions

void range_check (unsigned idim, const char *method) const
 
- Protected Member Functions inherited from Reference::Able
Handle__reference (bool active) const
 
void __dereference (bool auto_delete=true) const
 

Protected Attributes

Reference::To< const Archivearchive
 
Signal::Dimension dim [4]
 

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 ()
 

Detailed Description

Provides access to transposed Archive data.


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

Generated using doxygen 1.8.17