Changeset 1259 for trunk/web/commands.html
- Timestamp:
- 09/11/06 15:10:05 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/commands.html
r1040 r1259 39 39 ?> 40 40 <!-- Start Content --> 41 <h1> <a href="index.html">ASAP</a>'commands'</h1>41 <h1>ASAP 'commands'</h1> 42 42 <pre class="commands"> 43 43 ASAP> commands() 44 45 44 [The scan container] 46 45 scantable - a container for integrations/scans … … 49 48 get_scan - gets a specific scan out of a scantable 50 49 (by name or number) 50 drop_scan - drops a specific scan out of a scantable 51 (by number) 51 52 set_selection - set a new subselection of the data 52 53 get_selection - get the current selection object … … 67 68 get_abcissa - get the abcissa values and name for a given 68 69 row (time) 70 get_column_names - get the names of the columns in the scantable 71 for use with selector.set_query 69 72 set_freqframe - set the frame info for the Spectral Axis 70 73 (e.g. 'LSRK') … … 72 75 set_dirframe - set the frame for the direction on the sky 73 76 set_instrument - set the instrument name 77 set_feedtype - set the feed type 74 78 get_fluxunit - get the brightness flux unit 75 79 set_fluxunit - set the brightness flux unit … … 80 84 set_restfreqs - set a list of rest frequencies 81 85 flag - flag selected channels in the data 82 save - save the scantable to disk as either 'ASAP' 83 or 'SDFITS' 86 lag_flag - flag specified frequency in the data 87 save - save the scantable to disk as either 'ASAP', 88 'SDFITS' or 'ASCII' 84 89 nbeam,nif,nchan,npol - the number of beams/IFs/Pols/Chans 85 90 nscan - the number of scans in the scantable … … 90 95 or a list of scans 91 96 average_pol - average the polarisations together. 92 The dimension won't be reduced and 93 all polarisations will contain the 94 averaged spectrum. 97 average_beam - average the beams together. 95 98 convert_pol - convert to a different polarisation type 96 99 auto_quotient - return the on/off quotient with 97 automatic detection of the on/off scans 98 (matched pairs and 1 off - n on) 100 automatic detection of the on/off scans (closest 101 in time off is selected) 102 mx_quotient - Form a quotient using MX data (off beams) 99 103 scale, *, / - return a scan scaled by a given factor 100 104 add, +, - - return a scan with given value added … … 131 135 set_names - set a selection by name (wildcards allowed) 132 136 set_tsys - set a selection by tsys thresholds 137 set_query - set a selection by SQL-like query, e.g. BEAMNO==1 133 138 reset - unset all selections 134 139 + - merge to selections … … 141 146 simple_math - simple mathematical operations on two scantables, 142 147 'add', 'sub', 'mul', 'div' 148 quotient - build quotient of the given on and off scans 149 (matched pairs and 1 off/n on are valid) 150 merge - merge a list of scantables 151 152 [Line Catalog] 153 linecatalog - a linecatalog wrapper, taking an ASCII or 154 internal format table 155 summary - print a summary of the current selection 156 set_name - select a subset by name pattern, e.g. '*OH*' 157 set_strength_limits - select a subset by line strength limits 158 set_frequency_limits - select a subset by frequency limits 159 reset - unset all selections 160 save - save the current subset to a table (internal 161 format) 162 get_row - get the name and frequency from a specific 163 row in the table 143 164 [Fitting] 144 165 fitter … … 163 184 called 'plotter' 164 185 plot - plot a scantable 186 plot_lines - plot a linecatalog overlay 165 187 save - save the plot to a file ('png' ,'ps' or 'eps') 166 188 set_mode - set the state of the plotter, i.e. … … 177 199 set_linestyles - specify a set of linestyles to use if only 178 200 using one color 179 set_histrogra, - plot in historam style 201 set_font - set general font properties, e.g. 'family' 202 set_histogram - plot in historam style 180 203 set_mask - set a plotting mask for a specific polarization 204 text - draw text annotations either in data or relative 205 coordinates 206 arrow - draw arrow annotations either in data or relative 207 coordinates 208 axhline,axvline - draw horizontal/vertical lines 209 axhspan,axvspan - draw horizontal/vertical regions 210 211 xyplotter - matplotlib/pylab plotting functions 181 212 182 213 [Reading files] … … 199 230 list_rcparameters - print out a list of possible values to be 200 231 put into $HOME/.asaprc 232 rc - set rc parameters from within asap 201 233 mask_and,mask_or, 202 234 mask_not - boolean operations on masks created with
Note:
See TracChangeset
for help on using the changeset viewer.