Class Information#

Class Documentation#

class Information#

Public Functions

inline Information()#

Information class constructor.

inline Information(const Information &other)#

Information copy constructor.

inline Information &operator=(const Information &other)#

Information assignment operator.

long pre_exposures(std::string num_in, std::string &num_out)#
long manage_userkeys(std::string args, std::string &retstring)#
inline long set_axes()#

Returns:

ERROR or NO_ERROR

Public Members

std::string hostname#

Archon controller hostname.

int port#

Archon controller TPC/IP port number.

int activebufs#

Archon controller number of active frame buffers.

int bitpix#

Archon bits per pixel based on SAMPLEMODE.

int datatype#

FITS data type (corresponding to bitpix) used in set_axes()

bool type_set#

set when FITS data type has been defined

frame_type_t frame_type#

frame_type is IMAGE or RAW

long detector_pixels[2]#

element 0=cols (pixels), 1=rows (lines)

long section_size#

pixels to write for this section (could be less than full sensor size)

long image_memory#

bytes per image sensor

std::string current_observing_mode#

the current mode

std::string readout_name#

name of the readout source

int readout_type#

type of the readout source is an enum

long axes[3]#

element 0=cols, 1=cols, 2=cubedepth

long cubedepth#

depth, or number of slices for 3D data cubes

cubedepth is used to calculate memory allocation and is not necessarily the same as fitscubed, which is used to force the fits writer to create a cube.

long fitscubed#

depth, or number of slices for 3D data cubes

fitscubed is used to tell the fitswriter to create a file with a 3rd axis or not

int binspat#
int binspec#
int binning[2]#
long axis_pixels[2]#
long region_of_interest[4]#
std::vector<std::pair<int, int>> interest_bands#

multiple BOIs specified by <nskip>,<nread> pair

long image_center[2]#
bool abortexposure#
bool ismex#

the info object given to the FITS writer will need to know multi-extension status

int extension#

extension number for data cubes

bool shutterenable#

set true to allow the controller to open the shutter on expose, false to disable it

std::string shutteractivate#

shutter activation state

bool arcsim#

is the ARC device simulated or real?

std::int32_t sim_et#

arc simulator elapsed time

std::int32_t sim_modet#

arc simulator requested modify exposure time

int32_t exposure_time#

exposure time in exposure_unit

std::string exposure_unit#

exposure time unit

int exposure_factor#

multiplier for exposure_unit relative to 1 sec (=1 for sec, =1000 for msec, etc.)

double exposure_progress#

exposure progress (fraction)

int num_pre_exposures#

pre-exposures are exposures taken but not saved

std::string fits_name#

contatenation of Camera’s image_dir + image_name + image_num

std::string start_time#

system time when the exposure started (YYYY-MM-DDTHH:MM:SS.sss)

std::vector<std::vector<long>> amp_section#
double dispersion#
double minwavel#
Common::Header systemkeys#

Header class object holds pri/ext FitsKeys for system use.

Common::Header telemkeys#

Header class object holds pri/ext FitsKeys for telemetry use.

Common::Header userkeys#

Header class object holds pri/ext FitsKeys for command line use.

std::map<std::string, Common::Header> devkeys#