Loads and unloads Profile vector from PSRFITS archives.
More...
#include <ProfileColumn.h>
|
|
| ProfileColumn () |
| | Default constructor.
|
|
void | set_fitsfile (fitsfile *fptr) |
| | Set the fitsfile to/from which data are written/read.
|
|
void | set_data_colname (const std::string &) |
| | Set the name of the data column.
|
|
unsigned | get_data_colnum () |
| | Get the index of the data column.
|
|
void | set_offset_colname (const std::string &) |
| | Set the name of the offset column.
|
|
unsigned | get_offset_colnum () |
| | Get the index of the data column.
|
|
void | set_scale_colname (const std::string &) |
| | Set the name of the scale column.
|
|
unsigned | get_scale_colnum () |
| | Get the index of the data column.
|
|
void | set_nbin (unsigned) |
| | Set the number of phase bins.
|
|
void | set_nchan (unsigned) |
| | Set the number of frequency channels.
|
|
void | set_nprof (unsigned) |
| | Set the number of profiles in each frequency channel.
|
|
void | resize () |
| | Resize the columns.
|
|
void | resize_floats () |
| | Resize the columns for floating point output.
|
|
unsigned | get_nrow () const |
| | Get the number of rows required to unload data (after resize)
|
|
void | create (unsigned start_column) |
| | Insert the columns and resize.
|
|
void | unload (int row, const std::vector< const Profile * > &) |
| | Unload the given vector of profiles.
|
| void | unload_floats (int row, const std::vector< const Profile * > &) |
| | Unload the given vector of profiles as single-precision floats.
|
|
void | load (int row, const std::vector< Profile * > &) |
| | Load the given vector of profiles.
|
|
| Able (const Able &) |
|
Able & | operator= (const Able &) |
|
unsigned | get_reference_count () const |
|
| HeapTracked (const HeapTracked &) |
|
HeapTracked & | operator= (const HeapTracked &) |
|
bool | __is_on_heap () const |
|
|
static Option< bool > | output_floats |
|
|
void | reset () |
| | reset the column indeces
|
|
int | get_colnum (const std::string &name) |
| | Get the column number for the specified column name.
|
|
template<typename T, typename C> |
| void | load_amps (int row, C &, bool must_have_scloffs=true) |
|
Handle * | __reference (bool active) const |
|
void | __dereference (bool auto_delete=true) const |
|
|
fitsfile * | fptr |
|
std::string | data_colname |
|
std::string | offset_colname |
|
std::string | scale_colname |
|
int | data_colnum |
|
int | offset_colnum |
|
int | scale_colnum |
|
unsigned | nbin |
|
unsigned | nchan |
|
unsigned | nprof |
|
unsigned | nrow |
Loads and unloads Profile vector from PSRFITS archives.
◆ unload_floats()
| void Pulsar::ProfileColumn::unload_floats |
( |
int | row, |
|
|
const std::vector< const Profile * > & | prof ) |
Unload the given vector of profiles as single-precision floats.
Unload the given vector of profiles.
Referenced by unload().
The documentation for this class was generated from the following files: