Changeset 1040 for trunk/web/commands.html
- Timestamp:
- 04/27/06 14:08:06 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/web/commands.html
r794 r1040 41 41 <h1><a href="index.html">ASAP</a> 'commands'</h1> 42 42 <pre class="commands"> 43 ASAP> commands 44 ----> commands() 43 ASAP> commands() 45 44 46 45 [The scan container] … … 50 49 get_scan - gets a specific scan out of a scantable 51 50 (by name or number) 51 set_selection - set a new subselection of the data 52 get_selection - get the current selection object 52 53 summary - print info about the scantable contents 53 set_cursor - set a specific Beam/IF/Pol 'cursor' for54 further use55 get_cursor - print out the current cursor position56 54 stats - get specified statistic of the spectra in 57 55 the scantable … … 64 62 get_elevation - get the elevation of the scans 65 63 get_parangle - get the parallactic angle of the scans 66 get_unit - get the curr nt unit64 get_unit - get the current unit 67 65 set_unit - set the abcissa unit to be used from this 68 66 point on … … 72 70 (e.g. 'LSRK') 73 71 set_doppler - set the doppler to be used from this point on 72 set_dirframe - set the frame for the direction on the sky 74 73 set_instrument - set the instrument name 75 74 get_fluxunit - get the brightness flux unit … … 80 79 get_restfreqs - get the current list of rest frequencies 81 80 set_restfreqs - set a list of rest frequencies 82 lines - print list of known spectral lines 83 flag_spectrum - flag a whole Beam/IF/Pol 81 flag - flag selected channels in the data 84 82 save - save the scantable to disk as either 'ASAP' 85 83 or 'SDFITS' 86 84 nbeam,nif,nchan,npol - the number of beams/IFs/Pols/Chans 87 85 nscan - the number of scans in the scantable 88 nrow - te number of integrationsin the scantable86 nrow - te number of spectra in the scantable 89 87 history - print the history of the scantable 90 88 get_fit - get a fit which has been stored witnh the data … … 95 93 all polarisations will contain the 96 94 averaged spectrum. 95 convert_pol - convert to a different polarisation type 97 96 auto_quotient - return the on/off quotient with 98 97 automatic detection of the on/off scans 99 98 (matched pairs and 1 off - n on) 100 quotient - return the on/off quotient 101 scale - return a scan scaled by a given factor 102 add - return a scan with given value added 99 scale, *, / - return a scan scaled by a given factor 100 add, +, - - return a scan with given value added 103 101 bin - return a scan with binned channels 104 102 resample - return a scan with resampled channels … … 113 111 units 114 112 freq_align - align spectra in frequency frame 113 invert_phase - Invert the phase of the cross-correlation 114 swap_linears - Swap XX and YY 115 115 rotate_xyphase - rotate XY phase of cross correlation 116 116 rotate_linpolphase - rotate the phase of the complex … … 121 121 stddev - Determine the standard deviation of the current 122 122 beam/if/pol 123 [Selection] 124 selector - a selection object to set a subset of a scantable 125 set_scans - set (a list of) scans by index 126 set_cycles - set (a list of) cycles by index 127 set_beams - set (a list of) beamss by index 128 set_ifs - set (a list of) ifs by index 129 set_polarisations - set (a list of) polarisations by name 130 or by index 131 set_names - set a selection by name (wildcards allowed) 132 set_tsys - set a selection by tsys thresholds 133 reset - unset all selections 134 + - merge to selections 123 135 124 136 [Math] Mainly functions which operate on more than one scantable … … 136 148 commited. 137 149 fit - execute the actual fitting process 138 store_fit - store the fit param aters in the data (scantable)150 store_fit - store the fit parameters in the data (scantable) 139 151 get_chi2 - get the Chi^2 140 152 set_scan - set the scantable to be fit … … 150 162 asapplotter - a plotter for asap, default plotter is 151 163 called 'plotter' 152 plot - plot a (list of)scantable164 plot - plot a scantable 153 165 save - save the plot to a file ('png' ,'ps' or 'eps') 154 166 set_mode - set the state of the plotter, i.e. 155 167 what is to be plotted 'colour stacked' 156 168 and what 'panelled' 157 set_ cursor- only plot a selected part of the data169 set_selection - only plot a selected part of the data 158 170 set_range - set a 'zoom' window [xmin,xmax,ymin,ymax] 159 171 set_legend - specify user labels for the legend indeces … … 165 177 set_linestyles - specify a set of linestyles to use if only 166 178 using one color 179 set_histrogra, - plot in historam style 167 180 set_mask - set a plotting mask for a specific polarization 168 181 169 182 [Reading files] 170 183 reader - access rpfits/sdfits files 184 open - attach reader to a file 185 close - detach reader from file 171 186 read - read in integrations 172 187 summary - list info about all integrations … … 176 191 print - print details about a variable 177 192 list_scans - list all scantables created bt the user 193 list_files - list all files readable by asap (default rpf) 178 194 del - delete the given variable from memory 179 195 range - create a list of values, e.g. … … 198 214 ASAP> help average_time 199 215 200 201 216 </pre> 202 217 <!-- End Content -->
Note:
See TracChangeset
for help on using the changeset viewer.