|
virtual void | operation () |
| Need a custom implementation of operation to handle FITS I/O.
|
|
void | write_header () |
| Write out all of the FITS extensions.
|
|
void | finalize_fits () |
| Write metadata after data output and close fits file.
|
|
std::string | get_extension () const |
| Get the extension to be added to the end of new filenames.
|
|
virtual int64_t | unload_bytes (const void *buffer, uint64_t bytes) |
| Write nbyte bytes with cfitsio.
|
|
void | write_bytes (int colnum, int isub, int offset, unsigned bytes_to_write, unsigned char **buffer) |
| Interface to CFITSIO with error checking and bookkeeping.
|
|
virtual void | calculation () |
| Unload data into the BitSeries specified with set_output.
|
|
virtual void | open_file (const char *filename) |
| Open the file specified by filename for writing.
|
|
void | open_file (const std::string &name) |
| Convenience wrapper.
|
|
virtual bool | can_operate () |
| Return false if the operation doesn't have enough data to proceed.
|
|
virtual void | set_name (const std::string &_name) |
| Set the name!
|
|
int | timers_index (const std::string &op_name) |
| Returns the index in the 'timers' array of a particular timer.
|
|
Handle * | __reference (bool active) const |
|
void | __dereference (bool auto_delete=true) const |
|
|
unsigned | nsblk |
| samples per block (FITS row)
|
|
unsigned | nbblk |
| bytes per block
|
|
double | tblk |
| time per block
|
|
unsigned | nbit |
| bits per sample
|
|
unsigned | npol |
| convenience store npol
|
|
unsigned | nchan |
| convenience store channel nuumber
|
|
double | max_length |
| maximum length of output file
|
|
std::vector< float > | dat_wts |
| buffer for channels weights
|
|
std::vector< float > | dat_scl |
| buffer for channel scales
|
|
std::vector< float > | dat_offs |
| buffer for channel offsets
|
|
std::vector< double > | dat_freq |
| buffer for channel frequencies
|
|
fitsfile * | fptr |
| FITS file handle.
|
|
unsigned | isub |
| current subint
|
|
int | fd |
| The file descriptor.
|
|
int | header_bytes |
| The size of the header in bytes.
|
|
std::string | output_filename |
| The name of the output file.
|
|
std::string | datestr_pattern |
| The pattern used to create an output filename.
|
|
Scratch * | scratch |
| Shared scratch space, if needed.
|
|
bool | set_scratch_called |
|
std::string | name |
| Operation name.
|
|
uint64_t | discarded_weights |
| Number of time sample weights encountered that are flagged invalid.
|
|
uint64_t | total_weights |
| Total number of time sample weights encountered.
|
|
RealTimer | optime |
| Stop watch records the amount of time spent performing this operation.
|
|
int | id |
| Unique instantiation id.
|
|
bool | prepared |
| Set true when preparation optimizations are completed.
|
|
Reference::To< const BitSeries > | input |
| Container from which input data will be read.
|
|
writes BitSeries data to a PSRFITS "search mode" file