Документ взят из кэша поисковой машины. Адрес оригинального документа : http://hea-www.harvard.edu/PROS/PUG/node130.html
Дата изменения: Unknown
Дата индексирования: Mon Oct 1 23:24:46 2012
Кодировка:

Поисковые слова: star
*qpsim* - Generate Simulated Event List next up previous contents
Next: Source Subtraction Up: Image Manipulation Previous: *imlintran, magnify* - Image

 
*qpsim* - Generate Simulated Event List

A simulated HRI event list is generated from a set of user-specified source intensities, shapes and positions. The source specification is input into an iraf table using tcreate and the PROS-supplied format description. Please refer to the qpsim help file for detailed information on the source parameters. Briefly, they are: x, y, counts/rate, intensity (as counts/rate), prf-type, prf-parameter:

tt> tcreate
name of table to be created:    (source.lis)
name of file containing column descriptions:  (xspatialdata$srclst.cd)
name of file containing data (STDIN):
Give table data ... then newline & EOF to finish.
4096 4096 rate 0.5 ros_hri INDEF
5000 2500 counts 300 ros_hri 20

tt>

Once this table has been created, qpsim is run to generate the qpoe file: Note that the ``bad attribute name `time''' message can be ignored, see help file.

tt> qpsim
Input source table file:   source 
Reference QPOE file (xspatial$data/hdummy.qp): 
Root name for output files:   simul

### Generating simulated data ###

Beginning run of SIMEVT ... 

Using LIVETIME of 1000.00 seconds to determine source counts

Source number 3 at position (INDEF, INDEF) falls outside 
of allowed field limits, [2048 : 6144]. 
Skipping this source ... 

SIMEVT all done.

### Creating QPOE with simulated data ###

FITSNAME      FILENAME              DIMENS     BITPI BSCALE       BZERO        O

simul.fits    null_image            0                                           
  BINTABLE    simul.tab             2Cx800R    8bin                             
QPEX Warning: bad attribute name `time'
QPEX Warning: bad attribute name `time'
QPEX Warning: bad attribute name `time'
No GTI records in file - no TIME update done
writing output file  - simul_sim.qp

### Appending simulated data to reference QPOE ###

ref file:   RA: 9:00:00.0000 Dec: 45:00:00.0000 Roll: 0.0000
file # 2  RA: 9:00:00.0000 Dec: 45:00:00.0000 Roll: 0.0000
offsets(arcsec):  RA: -0.0000 Dec: -0.0000 Roll: 0.0000
file # 2  xref: 4096.0000 yref: 4097.0000 
offsets(pixels):  xoff: 0.0000 yoff: 0.0000 
Opening file #1 : xspatial$data/hdummy.qp 
QPEX Warning: bad attribute name `time'
WARNING: no TSI records found in file #: 1
QPEX Warning: bad attribute name `time'
No GTI records in file - no TIME update done
No GTI records in file - no TIME update done

file: 1 xspatial$data/hdummy.qp events: 0 times: 0.0
QPEX Warning: bad attribute name `time'
No GTI records in file - no TIME update done
No GTI records in file - no TIME update done

file: 2 simul_sim.qp events: 800 times: 0.0

@simulapp.lst3840b (; 2 files, no exp.) -> simul.qp
Creating QPOE output file: simul.qp

Renaming output file : simul.qp

tt>



rsdc@cfa.harvard.edu
1998-06-10