Class Camera#
Defined in File camera.h
Class Documentation#
-
class Camera#
Public Functions
-
Camera()#
shutter delay in milliseconds
-
inline long get_shutter_delay() const#
precise timer object for shutter timing
-
long set_shutter_delay(const std::string shdel_str)#
-
long set_shutter_delay(long shdel)#
-
inline void wait_shutter_delay()#
-
void set_abortstate(bool state)#
uses the precise_sleep timer in utils
-
bool get_abortstate()#
-
inline void set_dirmode(mode_t mode_in)#
-
void log_error(std::string function, std::string message)#
-
std::string get_longerror()#
-
long imdir(std::string dir_in)#
-
long imdir(std::string dir_in, std::string &dir_out)#
-
long autodir(std::string state_in, std::string &state_out)#
-
long basename(std::string name_in)#
-
long basename(std::string name_in, std::string &name_out)#
-
long imnum(std::string num_in, std::string &num_out)#
-
long writekeys(std::string writekeys_in, std::string &writekeys_out)#
-
long fitsnaming(std::string naming_in, std::string &naming_out)#
-
inline void increment_imnum()#
-
void set_fitstime(std::string time_in)#
-
long get_fitsname(std::string &name_out)#
-
long get_fitsname(std::string controllerid, std::string &name_out)#
-
void abort()#
-
void mex(bool state_in)#
-
bool mex()#
-
long mex(std::string state_in, std::string &state_out)#
-
void longerror(bool state_in)#
-
bool longerror()#
-
long longerror(std::string state_in, std::string &state_out)#
-
void mexamps(bool state_in)#
-
bool mexamps()#
-
long mexamps(std::string state_in, std::string &state_out)#
Public Members
-
std::string axis_x#
-
std::string axis_y#
labels for axes
-
int32_t exposure_time#
exposure time in exposure_unit
-
bool is_userkeys_persist#
should userkeys persist or be cleared after each exposure?
-
bool autodir_state#
if true then images are saved in a date subdir below image_dir, i.e. image_dir/YYYYMMDD/
-
bool abortstate#
set true to abort the current operation (exposure, readout, etc.)
-
bool bonn_shutter#
set false if Bonn shutter is not connected (defaults true)
-
bool ext_shutter#
set true if an external shutter is connected to an ARC controller (defaults false)
-
std::string writekeys_when#
when to write fits keys “before” or “after” exposure
-
PreciseTimer shutter_timer#
Bonn Shutter object.
-
std::map<int, std::string> firmware#
firmware file for given controller device number, read from .cfg file
-
std::map<int, int> readout_time#
readout time in msec for given controller device number, read from .cfg file
-
Camera()#