49
45
> ycolumn – column in events file to extract
• evselect table=PiiiiiijjkkaablllEVENLInmmm.FIT:EVENTS withimageset=yes
imageset=orderimage.fit xcolumn=BETA
CORR ycolumn=PI withyranges=yes yimagemin=0
yimagemax=3000 expression=’region($srclst:RGS1
SRC1
SPATIAL,BETA
CORR,XDSP
CORR)’
> withyranges – set the y range of the image.
> yimagemin – minimum y limit.
> yimagemax – maximum y limit.
> expression – filter expression. This example is filtering events found inside the spatial mask for the
source.
• rgsimplot withspatialset=yes withendispset=yes spatialset=spatialimage.fit
endispset=orderimage.fit withspatialregionsets=yes withendispregionsets=yes
srclistset=$srclst srcidlist=1 orderlist=’1 2’ colourmap=LOG colour=3 device=/XS
> withspatialset – include spatial image.
> withendispset – include PI image.
> spatialset – name of spatial image.
> endispset – name of PI image.
> withspatialregionsets – include spatial mask in plot.
> withendispregionsets – include PI mask in plot.
> srclistset – name of source list.
> srcidlist – source number of the target within the source list. Source 1 will correspond to the
target coordinates provided in the original proposal. Source 2 will be the camera boresight.
> orderlist – order of masks to plot
> colourmap – colour scale.
> colour – colour scheme for plot.
> device – plotting device (upper case is mandatory; e.g., /XS, /XSERVE, /PS, /CPS)
The output from rgsimplot is provided in Figure 6.3.
2) To plot a light curve from all events:
• evselect table=PiiiiiijjkkaablllEVENLInmmm.FIT:EVENTS withrateset=yes
rateset=PiiiiiijjkkaablllRATES
nmmm.FIT makeratecolumn=yes maketimecolumn=yes
timebinsize=100
> table – input event list.
> withrateset – create a light curve.
> rateset – name of output light curve.
> maketimecolumn – include an absolute time column.
> makeratecolumn – create a rate column.
> timebinsize – bin size (in seconds).
• dsplot table=PiiiiiijjkkaablllRATES
nmmm.FIT x=TIME y=RATE
The resulting curve is provided in Figure 6.4. Note that unlike Figure 6.2 these events have been extracted
across the whole detector and that our Good Time constraint has been adhered to.
3) To plot a spectrum with an approximate wavelength scale, use the mlambda table column rather than a
response matrix. One important caveat here is that all orders are superimposed on this table: