cfitsTK
SCExAO_control.h File Reference

Go to the source code of this file.

Functions

int_fast8_t init_SCExAO_control ()
 
long SCExAOcontrol_mkSegmentModes (const char *IDdmmap_name, const char *IDout_name)
 
int SCExAOcontrol_mv_DMstage (long stepXpos, long stepYpos)
 Move DM stage. More...
 
long SCExAOcontrol_Average_image (const char *imname, long NbAve, const char *IDnameout, long semindex)
 
int SCExAOcontrol_PyramidWFS_AutoAlign_TT (const char *WFScam_name, float XposStart, float YposStart)
 
int SCExAOcontrol_PyramidWFS_AutoAlign_cam (const char *WFScam_name)
 
int SCExAOcontrol_PyramidWFS_Pcenter (const char *IDwfsname, float prad, float poffset)
 
int SCExAOcontrol_Pyramid_flattenRefWF (const char *WFScam_name, long zimaxmax, float ampl0)
 
int SCExAOcontrol_optPSF (const char *WFScam_name, long zimaxmax, float alpha)
 
int SCExAOcontrol_SAPHIRA_cam_process (const char *IDinname, const char *IDoutname)
 
long SCExAOcontrol_vib_ComputeCentroid (const char *IDin_name, const char *IDdark_name, const char *IDout_name)
 
long SCExAOcontrol_vib_mergeData (const char *IDacc_name, const char *IDttpos_name, const char *IDout_name, int mode)
 

Function Documentation

int_fast8_t init_SCExAO_control ( )
long SCExAOcontrol_Average_image ( const char *  imname,
long  NbAve,
const char *  IDnameout,
long  semindex 
)
long SCExAOcontrol_mkSegmentModes ( const char *  IDdmmap_name,
const char *  IDout_name 
)
int SCExAOcontrol_mv_DMstage ( long  stepXpos,
long  stepYpos 
)

Move DM stage.

Absolute position

anti-backlash offset - rule: go negative first, and then positive

int SCExAOcontrol_optPSF ( const char *  WFScam_name,
long  zimaxmax,
float  alpha 
)
int SCExAOcontrol_Pyramid_flattenRefWF ( const char *  WFScam_name,
long  zimaxmax,
float  ampl0 
)
int SCExAOcontrol_PyramidWFS_AutoAlign_cam ( const char *  WFScam_name)

assumes imref has been loaded

read position of stages

compute offset

write stages position

int SCExAOcontrol_PyramidWFS_AutoAlign_TT ( const char *  WFScam_name,
float  XposStart,
float  YposStart 
)

1 V step -> sig = 0.2 for modulation = 0.3

int SCExAOcontrol_PyramidWFS_Pcenter ( const char *  IDwfsname,
float  prad,
float  poffset 
)

pupil centering tool watch pcenter stream

read position of stages

write stages position

int SCExAOcontrol_SAPHIRA_cam_process ( const char *  IDinname,
const char *  IDoutname 
)

SAPHIRA image: process data cube into single frame

full linear regression, up to saturation level

long SCExAOcontrol_vib_ComputeCentroid ( const char *  IDin_name,
const char *  IDdark_name,
const char *  IDout_name 
)
long SCExAOcontrol_vib_mergeData ( const char *  IDacc_name,
const char *  IDttpos_name,
const char *  IDout_name,
int  mode 
)