Display Functions¶
Summary¶
Functions¶
fast_display_wfs_guard
pro fast_display_wfs_guard, wfsimg0, reset=resetflag, flat=flat, dark=dark, window=wwflag, min=minflag, max=maxflag
NAME:
fast_display_wfs_guard
PURPOSE:
Preferred way to look at WFS iamges. It inserts the guard
bands so that this looks more like dispraw.
EXPLANATION:
see above.
Calling SEQUENCE:
fast_display_wfs_guard, wfsimg0, [/reset, /flat, /dark, window=wwflag, min=minv, max=maxv]
INPUT/OUTPUT:
/reset will cause exptv to clean the window before drawing
wwflag will let you display in a different window than
default (0)
min=minv sets the minimum value for the color bar (otherwise
defaults to data
max=maxv sets the maximum value for the color bar (otherwise
defaults to data
/dark will remove the present dark before displaying
/flat will adjust by the presetn flat before displaying
OPTIONAL OUTPUT:
None.
EXAMPLE:
DEPENDENCIES:
exptv
NOTES:
REVISION HISTORY
written in 2011 by LAP.
mcd_format_number (my_colorbar_display.pro)
function mcd_format_number, number0, dec
my_colorbar_display (my_colorbar_display.pro)
pro my_colorbar_display, sig, horiztonatl=hflag, min=minflag, max=maxflag
NAME:
my_colorbar_display
PURPOSE:
Provide an easy way to create a color bar with labels for all
new_fancy_display programs
EXPLANATION:
see above.
Calling SEQUENCE:
my_colorbar_display, sig, [/horiztonatl, min=minv, max=maxv]
INPUT/OUTPUT:
min=minv sets the minimum value for the color bar (otherwise
defaults to data
max=maxv sets the maximum value for the color bar (otherwise
defaults to data
/horizontal display a color bar in that orientation. Default
is vertical.
OPTIONAL OUTPUT:
None.
EXAMPLE:
DEPENDENCIES:
exptv
NOTES:
REVISION HISTORY
written in 2011 by LAP.
new_fancy_display_freqdom
pro new_fancy_display_freqdom, ftdata, reset=resetflag, woverride=wwflag, min=minflag, max=maxflag
NAME:
new_fancy_display_freqdom
PURPOSE:
Provide an easy way to visualize this signal
EXPLANATION:
see above.
Calling SEQUENCE:
new_fancy_display_freqdom, ftdata, [/reset, /wover, min=minv, max=maxv]
INPUT/OUTPUT:
ftdata is a real or complex valued signal that is the FT of a
signal of interest.
/reset will cause exptv to clean the window before drawing
/woverride will let you display in a different window than
default (0)
min=minv sets the minimum value for the color bar (otherwise
defaults to data
max=maxv sets the maximum value for the color bar (otherwise
defaults to data
OPTIONAL OUTPUT:
None.
EXAMPLE:
new_fancy_display_freqdom, fft(phase)
DEPENDENCIES:
exptv
load_actuator_types
NOTES:
If input ftdata is real, it is displayed as is. If input signal
ftdata is complex, code displays abs()^2 of it. (PSD)
REVISION HISTORY
written in 2011 by LAP.
new_fancy_display_locations
pro new_fancy_display_locations, tweetonly=tflag, stop=stopflag, gory=goryflag
NAME:
new_fancy_display_locations
PURPOSE:
Generates a map of all the actuators (as we think they
actually are) with dea ones marked, etc. Also prints out the
details of the alignment (centering) of each of the Wfr and
Twt grids relative to nominal with the WFS lenslets.
EXPLANATION:
see above.
Calling SEQUENCE:
new_fancy_display_locations, [/tweetonly, /stop, /gory]
INPUT/OUTPUT:
/tweetonly display only twt information
/stop will stop the code so you can get into the guts of it
/gory gets passed on to
determine_and_display_second_order_transforms. rarely used.
OPTIONAL OUTPUT:
None.
EXAMPLE:
DEPENDENCIES:
exptv
load_actuator_locations
load_actuator_types
determine_and_display_second_order_transforms
NOTES:
REVISION HISTORY
written in 2011 by LAP.
new_fancy_display_phase
pro new_fancy_display_phase, phase, reset=resetflag, woverride=wwflag, min=minflag, max=maxflag
NAME:
new_fancy_display_phase
PURPOSE:
Provide an easy way to visualize this signal
EXPLANATION:
see above.
Calling SEQUENCE:
new_fancy_display_phase, phase, [/reset, /woverride, min=minv, max=maxv]
INPUT/OUTPUT:
/reset will cause exptv to clean the window before drawing
/woverride will let you display in a different window than
default (0)
min=minv sets the minimum value for the color bar (otherwise
defaults to data
max=maxv sets the maximum value for the color bar (otherwise
defaults to data
OPTIONAL OUTPUT:
None.
EXAMPLE:
new_fancy_display_phase, phase, min=-.1, max=.1
DEPENDENCIES:
exptv
load_actuator_locations
load_actuator_types
NOTES:
Display all the dead actuators, etc.
REVISION HISTORY
written in 2011 by LAP.
new_fancy_display_phase_for_wtsm
pro new_fancy_display_phase_for_wtsm, phase, reset=resetflag, woverride=wwflag
NAME:
new_fancy_display_phase_for_wts
PURPOSE:
For looking at tweeter ophases relative to the Wfr grid. Found
to be helpful when doing the split matrix.
EXPLANATION:
see above.
Calling SEQUENCE:
new_fancy_display_phase_for_wtsm, phase, [/reset, /woverride]
INPUT/OUTPUT:
/reset will cause exptv to clean the window before drawing
/woverride will let you display in a different window than
default (0)
OPTIONAL OUTPUT:
None.
EXAMPLE:
DEPENDENCIES:
exptv
load_actuator_locations
load_actuator_types
NOTES:
Probably of limited regular usage.
REVISION HISTORY
written in 2011 by LAP.
new_fancy_display_scicam
pro new_fancy_display_scicam, img, reset=resetflag, woverride=wwflag
NAME:
new_fancy_display_scicam,
PURPOSE:
Display with colorbar a gpi_scicam_n by gpi_scicam_n image.
EXPLANATION:
see above.
Calling SEQUENCE:
new_fancy_display_scicam, img, [/reset, /woverride]
INPUT/OUTPUT:
min=minv sets the minimum value for the color bar (otherwise
defaults to data
max=maxv sets the maximum value for the color bar (otherwise
defaults to data
OPTIONAL OUTPUT:
None.
EXAMPLE:
DEPENDENCIES:
exptv
NOTES:
Is this ever used by anything??????
REVISION HISTORY
written in 2011 by LAP.
new_fancy_display_subaps
pro new_fancy_display_subaps, subs, reset=resetflag, woverride=wwflag, min=minflag, max=maxflag, circrad=circrad
NAME:
ew_fancy_display_subaps
PURPOSE:
Provide an easy way to visualize this signal
EXPLANATION:
see above.
Calling SEQUENCE:
ew_fancy_display_subaps, subs, [/reset, /woverride, min=minv, max=maxv,circrad=circrad]
INPUT/OUTPUT:
/reset will cause exptv to clean the window before drawing
/woverride will let you display in a different window than
default (0)
min=minv sets the minimum value for the color bar (otherwise
defaults to data
max=maxv sets the maximum value for the color bar (otherwise
defaults to data
circrad is the radius of the circles drawn over to present the pupil.
OPTIONAL OUTPUT:
None.
EXAMPLE:
new_fancy_display_subaps, subs
DEPENDENCIES:
exptv
load_actuator_locations
NOTES:
Will show the dead actuators
REVISION HISTORY
written in 2011 by LAP.
new_fancy_display_wfs
pro new_fancy_display_wfs, wfsimg, actuators=aflag, slopes=sflag, reset=resetflag, woverride=wwflag
NAME:
new_fancy_display_wfs
PURPOSE:
Provide an easy way to visualize this signal
EXPLANATION:
see above.
Calling SEQUENCE:
new_fancy_display_wfs, wfsimg, [/actuators, /slopes, $
subapmask=usethisflag, /reset, /woverride]
INPUT/OUTPUT:
/reset will cause exptv to clean the window before drawing
/woverride will let you display in a different window than
default (0)
/act makes it display points at the actuators
/slopes makes it overplot vectors indicating the slopes
OPTIONAL OUTPUT:
None.
EXAMPLE:
DEPENDENCIES:
exptv
load_actuator_locations
load_actuator_types
calculate_slopes
NOTES:
REVISION HISTORY
written in 2011 by LAP.
new_fancy_display_woofer
pro new_fancy_display_woofer, wphase, reset=resetflag, woverride=wwflag, min=minflag, max=maxflag
NAME:
new_fancy_display_woofer
PURPOSE:
Provide an easy way to visualize this signal
EXPLANATION:
see above.
Calling SEQUENCE:
new_fancy_display_woofer, wphase, [/reset, /wover, min=minv, max=maxv]
INPUT/OUTPUT:
wphase is a woofer signal (will catch if it's not)
/reset will cause exptv to clean the window before drawing
/woverride will let you display in a different window than
default (0)
min=minv sets the minimum value for the color bar (otherwise
defaults to data
max=maxv sets the maximum value for the color bar (otherwise
defaults to data
OPTIONAL OUTPUT:
None.
EXAMPLE:
new_fancy_display_woofer, wphase, min=-1, max=1
DEPENDENCIES:
exptv
load_actuator_locations
NOTES:
REVISION HISTORY
written in 2011 by LAP.