![]() |
Here we have use lmap to view the red channel in a set of LRS2 data with obs=008 and exp=01 with the command: % lmap 008 01 rd NThe two red channel images are shown in the two left panels. The LRS2 spatial reconstruction is in the upper-right, and the acm view is in the lower-right. Note that the green circles were draw by the user to measure the locations of the star in the IFU and acm coordinate systems. For completenes I show the BaseDir and Date files I used: % cat BaseDir /home/sco/HET_work/finding_charts % cat Date 20170209 |
Local LRS2 image = lrs2map.fits Acam image = 20170209T050520.4_acm_sci.fits 501.00 270.71 X,Y (in pixels) from map 725.64 571.67 X,Y (in pixels) from acam -0.162250 0.216972 X,Y (in arcsec) from LRS2 map 008 01 rd 20170209 (obs,exp,channel,date) Based on the LRS2 image, here is your correction to center the target: mgp -toff=-0.162250,-0.216972 501.00 270.71 725.64 571.67 -0.1623 0.2170 008 01 rd 20170209 20170209T050520.4_acm_sci.fits
The lmap code is not really deprecated, but a more advanced version worth looking at is lmap_markII. In preparation for this upgrade, I wrote a detailed software review of lmap. It may be useful to read a deatiled description of building spatial images with lmap.
View LRS2 spectra and the corresponding spatial image from a single channel for a given observation (obs) and exposure (exp). This code MUST be run in a location that is separate from the original raw data directory (usually /hetdata/data/YYYYMMDD). The local files BaseDir and Date can be used to specifiy the base directory (usually /hetdata/data on mcs) and the date (i.e. 20160816). If these files do not exist in the local directory, the user will be queried for them.
% % lmap Usage: lmap 009 05 or N arg1 = observation value (3 chars, e.g. 003) arg2 = exposure number (2 chars, e.g. 01) arg3 = channel name (uv,or,rd,fr) agr4 = run in debug/verbose mode (Y/N) NOTE: uv=UV or=Orange, rd=Red, fr=Far-Red (The BaseDir and Date files each contain a single line) % cat BaseDir /home/sco/HET_work/finding_charts # typical path on my home machine /hetdata/data # typical path on mcs % cat Date 20170209