There are several type of variables; Environmental, header and user defined.
Once a scan has been loaded, you may query or modify a header variable.
Environmental variables are ones that can be changed to suit the user and are used to control the behavior of LinuxPops. A few of the environmental variables are internally modified / set by LinuxPops during the course its use,, but most remain untouched save for direct user actions.
NOTE: Variables are being added all the time, so this list may not be up to date.
Defined Dynamic Variables
D:
planck: (
double) 6.6261e-34
D:
ctr: (
double) 0.017453
D:
ctd: (double) 57.295780
D:
sol: (
double) 2.9979e+08
E:
title (
char) Online DBE Environment Title: User define-able
E: filename (char) sdd.sys_100 Current Selected datafile
E:
gfilename (
char) . Current Selected gains datafile
E: source (char) 3c84 Currently Selected Source
E:
backend (
char) Spectrometer/Continuum Backend Name: i.e. F1M-HU
E: savefile (char) . Save filename
E: userfile (char) . User filename Used by 'print /w' command
E: accum: (int) 1 If True, We are in the process of accumulating scans
E: accumcount: (int) 0 Total number of scans last accumulated
E: accumreset: (int) 1 If True, Next call to the accum function resets all registers
E: acc_plot_select_x: (int) 0 Accumm plot x axis: 'num', 'el', 'ut', 'scannum'
E: acc_plot_select_y: (int) 0 Accumm plot y axis: 'sig', 'sky', 'smror', 'tsys', 'tastar', 'tr', 'jansky'
E: acount: (int) 0 Total number of items in stack
E: allow_five_pt: (int) 0 Allow five point centers to be accumulated
E: ashift: (
int) 0 Number of channels to
shift spectra - or +
E: autobad: (int) 0 Automatically remove bad channels when encountered
E: autotau: (int) 0 If True, Process SPTIP's as you encounter them during accum
E: badchanepoch: (int) 1572648748 Epoch of the 'fixed' bad channel array
E: badchanshow: (int) 0 If True, Place markers on defined bad channels
E: bdrop: (int) 0 Number of channels to drop from beginning of spectral plot
E: bkmatch: (int) 0 Backend matching mode: 0 = FEED, 1 = RESOLUTION, 2 = NAME
E: bleadtrail: (int) 0 0 = straight, 1 = polynomial fitting of leading and trailing channels
E: bmark: (int) 0 If True, show baseline region boxes on plot
E: bshow: (int) 0 If True, Show the baseline fit on plot
E: bsmoothing: (int) 0 Linear vs polynomial intep between baseline regions
E: calmode: (
int) 0 Cal
Mode: 0 = NONE, 1 = CALSCALE, 2 = BEAMEFF, 3 = TELE_EFF
E: check_bkname: (int) 0
E: check_date: (int) 0 If True, Use the Date in the search criteria
E: check_feed: (int) 0 If True, Use the IF Feed in the search criteria
E: check_freq: (int) 1 If True, Use the Frequency in the search criteria
E: check_scans: (int) 1 If True, Use the Actual Scan Numbers in the search criteria
E: check_source: (int) 1 If True, Use the Source Name in the search criteria
E: dobadchan: (int) 0 If True, smooth over defined bad channels
E: dobaseline: (int) 0 if True, remove computed baseline
E: doing_fives: (int) 0 It True, analyse 5 point centers like a seq
E: dospike: (
int) 0 If True, Locate and remove and spikes in
data: Experimental
E: edrop: (int) 0 Amount of channels to remove from end of plot
E: elgain: (int) 0 If True, Compute and use the defined Elevation Gain Terms
E:
feed: (
int) 0 Which
feed we are processing at and given time
E: glength: (
int) 0 The number of
data points to include in Gaussian fitting
E: gridmode: (int) 3 Plot window grid mode: 0 = NONE, 1 = X_ONLY, 2 = Y_ONLY, 3 = FULL
E: ignoremapoff: (int) 0 If True, Ignore small mapping offsets
E: ignorepos: (int) 0 If True, ignore RA, Dec & Vel in accum function: Think Planets
E: invert: (
int) 0 If True, invert the phases of continuum
data
E: issmt: (
int) 0 If True,
data file is from SMT
E: usesat: (int) 0 Display Strings And Things if True
E: loopdelay1: (int) 100000 Delay for any background loops
E: loopdelay2: (int) 2000000 Delay for any foreground loops
E: mapangle: (int) 0 Preliminary Grid Map plotting angles
E: mapbaselines: (int) 0 Number of cont samps on sides of map row used for baselines
E: markers: (int) 16 Number of filterbank channels per card: see mshow
E: map_w: (int) 81 Grid map width in cells
E: map_h: (int) 1 Grid map height in cells
E: mshow: (int) 0 If True, draw markers on spectral plot show filter card breaks
E: nbeff: (int) 4 Number of columns to printout during beam eff function
E: nbox: (
int) 0 Number of channels to use in the
boxcar function
E: nbshape: (int) 0 Number of channels to smooth for bshape command
E: nfit: (int) 0 Number of parameters for curve fitting 1 - 10
E: nignored: (
int) 0 Number of scans in the ignore-
scan array
E: nsave: (int) 0 Current selected nsave value: Used for fetching saved scans
E: nspline: (int) 0 Number of terms to use in bspline function
E: numofscans: (
int) 114 Number of scans in currently selected
data file
E: ons: (int) 0 If True, display the 'on' phases in continuum plot
E: otf_cols: (int) 0
E: otf_rows: (int) 0
E: otf_map_xcell: (int) 0
E: otf_map_ycell: (int) 0
E: otf_bint_chan: (int) 0 Beginning integration channel/region
E: otf_eint_chan: (int) 0 Ending integration channel/region
E: otf_3d_bchan: (
int) 0 Beginning channel of a 3d
data cube
E: otf_3d_echan: (
int) 0 Ending channel of a 3d
data cube
E: otf_3d_interp: (int) 0 # of planes to create b/t channels in a 3d data cube
E: otf_movie_bchan: (int) 0 Beginning channel of 'vel' run
E: otf_movie_echan: (int) 0 Ending channel of 'vel' run
E: otf_movie_nchan: (int) 0 Number of channels to
avg for 'vel' run
E: otf_cutoff: (
int) 0 % of the bottom-end of
data to cut off
E: otf_baselines: (int) 0 Remove baselines from individual spectral
E: otf_color: (int) 0 gray, pseudo, flame1, flame2, flame3, flame4, flame5, flame6
E: otf_ephem_obj: (int) 0 If non-zero, Ignore source Ra & Dec when gridding
E: otf_single_spec: (int) 0 Which Spectral Channel to plot in lower left window
E: otf_if_choice: (int) 0 Which IF to process
E: otf_load_choice: (int) 0 Preview, fast, step
E: otf_single_bin: (int) 0 Number of channels to bin for 'otf_single_spec'
E: otf_ignore_color: (
int) 0 If
true, ignore changes in color slow internet
helper
E: otf_ignore_repaint: (int) 0 If true, ignore repaints of grid between tile loads
E: otf_show_beam_size: (int) 0 If True, place a beam size circle on plot
E: otf_chan_map_cent: (int) 0
OTF Channel Map Center Channel
E: otf_chan_map_cols: (
int) 0
OTF Channel Map # of Columns
E: otf_chan_map_rows: (int) 0
OTF Channel Map # of Rows
E: otf_chan_map_avg: (
int) 0
OTF Channel Map # os Chans to Avg
E: otf_baseline_order: (int) 0 The 'order' of baseline removal
E: otf_show_regions: (int) 0 Show region outlines, if True & loaded
E: otf_noint: (int) 0 Number of channels in
OTF bandpass
E: overwrite: (int) 0 If true, then save will overwrite an existing nsave
E: peakChan: (int) 9 Channel number with the peak intensity
E: plotstyle: (int) 0 Plot Style: 0 = HISTOGRAM, 1 = LINES, 2 = POINTS
E: plottmb: (int) 0 If
true, plot the expected Tmb too 0 no plot, 1 =
LSB, 2
USB
E: plotwin: (int) 0 Currently selected Gunplot Window
E: procspec: (int) 0 If True, Further processing needed: think TP Scans
E: read_dir: (
int) 0 0 = read
data files from back to front [
default], 1 = front to back
E: rm_fit_data: (int) 0 If True,
remove the bplot
data from yplot: Experimental
E: shift_allow: (int) 0 If True, allow automatic freq shifting of spectra as encountered
E: split_phases: (int) 0 If True, do not average ON and OFF five points: Experimental
E: stackdone: (int) 0 We have reached the end of the stack
E: stackindx: (int) 0 Current stack pointer
E: strictsb: (
int) 0 If True, Avoid averaging
USB and
LSB continuum
E: used: (int) 0 True if this environment is used
E: usegslgauss: (
int) 0 If True, use the gsl Gaussian fitting,
else use unipops
version
E:
xdelay: (int) 0 Amount of time to
delay between gnuplot calls uSec
E: x1mode: (int) 0 Bottom X-Axis of Spectral plot: 0 = FREQ, 1 = VEL, 2 = CHAN
E: x2mode: (int) 0 Top X-Axis of Spectral plot: 0 = FREQ, 1 = VEL, 2 = CHAN
E: zline: (int) 0 If True, Show the zero line in spectral plots
E: btokens: (int) 5 Number of batch tokens in current command
E: accumtr: (double) 0.0000e+00 Running accum Tr
E: accumtastar: (double) 0.0000e+00 Running accum TaStar
E: apperatureeff: (double) 0.0000e+00 Resulting Aperture efficiency
E: avgEl: (double) 0.0000e+00 Average Elevation of latest accum
E:
beam_eff: (
double) 0.0000e+00 Computed Beam Eff
E: bp_avg: (double) 0.0000e+00 Average temp of the bandpass (bdrop - edrop)
E: bscan: (
double) 0.0000e+00 Beginning
scan range during searching
E: cal_scale: (
double) 0.0000e+00 Continuum calibration scale when in
CALMODE_CALSCALE
E: ccur: (double) 138.0817 Last mouse click channel
E:
cnterr: (
double) 0.0000e+00 Center Error
term for last Gaussian fit
E: curScan: (
double) 4048.0100 Last
scan loaded
E: date: (double) 0.0000e+00 Date used in searching
E: dfreq: (double) 0.0010 Delta freq tolerance used during searching
E: dvel: (double) 0.0010 Delta Velocity tolerance
E: escan: (
double) 50000.0000 Ending
scan range during searching
E: expectedflux: (double) 150.9290 User supplied Expected Source Janskys
E: expectedtmb: (
double) 4.9261 User supplied Expected Source T-
main-beam
E: fcur: (double) -2273.6989 Last mouse click freq
E: fft_xb: (double) 0.0000e+00 FFT X-axis Start
E: fft_xe: (double) 0.0000e+00 FFT X-Axis End
E: fitmhz: (double) 0.0000e+00 Width of Spectral Focus/Five-pt fitting (MHz)
E: fittedtau: (double) 0.0000e+00 Last fitted tau from SPTIP
E: focus_fit_1: (
double) 0.0000e+00 Store
results of spec focus here
E: focus_fit_2: (double) 0.0000e+00
E: freq: (double) 90.9722 Rest Freq used during Searching
E: gaussPeak: (double) 0.0000e+00 Peak Results of Gaussian Fit
E: gaussCenter: (double) 0.0000e+00 Center Results of Gaussian Fit
E: gaussHP: (double) 0.0000e+00 Width Results of Gaussian Fit
E: gaussSum: (double) 0.0000e+00 Area under the Gaussian Results
E:
hghterr: (
double) 0.0000e+00 Height Error
term for last Gaussian fit
E: hwdc: (
double) 0.9000 Fractional time of
backend integration i.e. 0.90 for filters
E:
hwerr: (
double) 0.0000e+00 Width Error
term for last Gaussian fit
E: if_feed: (
double) 0.0000e+00 [1, 2, 3 or 4]: requested
feed: 0.01, 0.02, 0.03, 0.04
E: intercept: (double) 0.0000e+00 Last Intercept from the baseline operation
E: jfact: (
double) 24.4152 Currently used Jk/
K factor
E: jupiter_tmb: (double) 31.9277 Jupiter Temperature-Main-Beam
E: kj_factor: (double) 0.0000e+00 If Non Zero, use this value for Kelvin to Jansky Conversion
E: elgain_term1: (
double) 0.0000e+00 User input elevation gain curve
term 1
E: elgain_term2: (
double) 0.0000e+00 User input elevation gain curve
term 2
E: elgain_term3: (
double) 0.0000e+00 User input elevation gain curve
term 3
E: elgain_term4: (
double) 0.0000e+00 User input elevation gain curve
term 4
E: elgain_term5: (
double) 0.0000e+00 User input elevation gain curve
term 5
E: lowerdb: (double) 0.0000e+00 Lowest fabs(map_value) allowed when using decibel map plot
E: mantau0: (double) 0.0000e+00 User supplied tau0 value: overrides autotau
E: mars_tmb: (double) 0.5704 Mars Temperature-Main-Beam
E: mercury_tmb: (double) 2.8191 Mercury Temperature-Main-Beam: filled in by 'plan' command
E: neptune_tmb: (double) 0.0913 Neptune Temperature-Main-Beam
E: newres: (
double) 0.0000e+00 New resolution to convert
data to. Used by chngres
E: oob_val: (
double) 0.0000e+00 Out Of Bounds Value Set OOB values to this else the
avg is used
E: otf_nyquistra: (double) 0.0000e+00 Size of individual cells in RA
E: otf_nyquistdec: (double) 0.0000e+00 Size of individual cells in Dec
E: otf_map_ra: (double) 0.0000e+00 Center of Map in RA
E: otf_map_dec: (double) 0.0000e+00 Center of Map in Dec
E: otf_map_xsize: (double) 0.0000e+00 Size of map in RA
E: otf_map_ysize: (double) 0.0000e+00 Size of map in Dec
E: otf_grid_scale: (double) 0.0000e+00 Magnification scale of plot
E: otf_gamma: (double) 0.0000e+00 Map Gamma correction
E: otf_size_factor: (
double) 1.0000 Scale factor for Automatic
OTF Map creation
E: otf_delay: (double) 0.0000e+00 Delay used for velocity movie
E: otf_3d_vrange: (double) 0.0000e+00 Scaling factor for Vel Range: nominally 1.0
E: otf_3d_urms: (
double) 0.0000e+00 Max
rms allowed in 3d Cube output
E: otf_map_velocity: (
double) 0.0000e+00 Velocity of
OTF Map
E: otf_map_restfreq: (
double) 0.0000e+00 Rest Freq of
OTF Map
E: otf_map_freqres: (
double) 0.0000e+00 Backend Resolution of
OTF Map
E: otf_zrange_factor: (double) 0.0000e+00 The factor to multiply the z-axis by if non-zero
E: paperw: (double) 0.0000e+00 Width of plot window 0 == normal 800 pixels
E: paperh: (double) 0.0000e+00 Height of plot window 0 == normal 600 pixels
E: ptime: (double) 0.0000e+00 Time of day used in the 'planets' program 0.0 - 23.99
E: p2p: (double) 0.0000e+00 Computed Peak to Peak
E:
rms: (
double) 0.0000e+00 Last
rms value over the baseline region
E: rst: (double) 90.0000 Results of the latest calculation
E: saturn_tmb: (double) 5.6301 Saturn Temperature-Main-Beam
E: slope: (double) 0.0000e+00 Last slope from the baseline operation
E: stackscan: (
double) 0.0000e+00 Current
scan pointed to by stack pointer
E: tcallimit: (double) 2000.0000 Tcal Upper limit for Spectral/Cont accum.
E: tcur: (double) 0.0266 Last mouse click temperature
E: theta_mb: (double) 0.0000e+00 Manual Theta Main Beam in arcsecs >0.0 overrides computed value
E: totalweight: (double) 0.0000e+00 Weighted average of accumulations
E: trms: (double) 0.0000e+00 Theoretical RMS
E: tsyslimit: (double) 10000.0000 Tsys Upper limit for Spectral/Cont accum.
E: uranus_tmb: (double) 0.2264 Uranus Temperature-Main-Beam
E: vcur: (double) 6039.0517 Last mouse click velocity
E: venus_tmb: (double) 5.2334 Venus Temperature-Main-Beam
E: xplotmin: (double) 0.0000e+00 Xgraphics Computed X-Plot Range Min
E: xplotmax: (double) 0.0000e+00 Xgraphics Computed X-Plot Range Max
E: yplotmin: (double) 0.0000e+00 Xgraphics Computed Y-Plot Range Min
E: yplotmax: (double) 0.0000e+00 Xgraphics Computed Y-Plot Range Max
E: ylower: (double) -1.0000e+09 User set lower y scale for plotting
E: yupper: (double) 1.0000e+09 User set upper y scale for plotting
E: fs: (double) 0.0000e+00 Freq-switch Signal Offset
E: fr: (double) 0.0000e+00 Rest Freq used during Searching
E: gmap_zmin: (
double) 0.0000e+00 Z-Axis plotting
min used if either is non-zero
E: gmap_zmax: (
double) 0.0000e+00 Z-Axis plotting
max used if either is non-zero
E: gmap_gamma: (double) 0.0000e+00 Grid map Gamma Applied if non-zero
E: dish_size: (double) 0.0000e+00 User defined dish_size and sub-reflector taper dB's
E: taper: (double) 0.0000e+00 Used if value > 0.0
Users can define their own variable, up to MAX_DYN_VARS, 2048.
All variables, with the exception of characters strings and numerical arrays, can be modified using the assignment function: '='. There are functions that handle string setting. (And we are working on that Array issue...)