DSPBOL

Interactive display and despiking

Description:

dspbol (or any d link to scuplot) can be used to interactively despike bolometers. While it is not as fast as a completely integrated routine would be, it makes interactive despiking much easier by hiding the cycle between linplot and change_quality for the user. The most common use is to zoom in on the region with the spike via the ‘X’ menu option (either typing the input or using the cursor) and subsequently to flag the offending point (just type the coordinate of the point, a range, or use the cursor; in general the coordinate is to the right of the plotted point). The routine will overlay the despiked data, prompt the user to accept the new set and de-zoom to the original scale. To reset a previously flagged point, flag the point again but do not accept it: the point will be set to GOOD again. Please read the note below the description of the menu on the use of the mouse.

The menu consists of:

 [M. H] Redisplay menu
 [Q] Quit
 [N] Next bolometer
 [B#] Switch to bol #
 [X min max], [X cen] X-axis from min:max or cen+/-10
  Just ‘x’ activates the cursor.
 [R] Reset X-axis
 [Y min max], [Y lim] Y-axis from min:max or -lim:+lim
 [U] Reset Y-axis
 [#], [#:#], [#-#] Despike point or range of points;
Just ‘p’ activates the cursor.
Option >

Note that a X center defined with the cursor or [X cen] defaults to a 20 points window around cen, the position of the spike. Using the CURSOR, the Left Mouse button always defines the point, the Right Mouse button exits the cursor task while accepting the last point clicked.

Usage:

dspbol [-f sdf_file] [-d sdf_file2] [-s min max] [bol [bol [bol] ...]]

Parameters:

-h[elp]
Print the help information.
-f file
name of NDF file (.sdf may be included in the name).
-d file2
name of a second file: e.g. the despiked version of the NDF file. The same bolometers will be plotted in a second window or overlaid for comparison.
-s min max
Y-axis scales for plot (can be changed via menu).
bol
list of bolometers to plot. Type ‘all’ for 1..37 and ‘alls’ for 1..91. Can be added via menu if mode = ‘r’.

Examples:

scuplot
The user will be asked for an input file and bolometer list before proceeding.
dspbol-f o39_lon_ext
Interactive despiking on o39_lon_ext.sdf. A bolometer list will be requested.
dspbol -f s14_lon_ext 12 13 18 20 25 26 19
Use file s14_lon_ext.sdf. Plot bolometers 12,13, 18, 20, 25, 26 and 19.

Notes:

Related Applications

SURF: pltbol, rlinplot, change_quality, despike;
KAPPA: linplot, cursor;
FIGARO: sclean

Bugs:

Freezes when asked to plot a bad bolometer.