View spectra from the 4 channels of VIRUS, LRS2-B, or LRS2-R.
% % ifu_view Usage: ifu_view 101 01 V arg1 - observation) arg2 - exposure arg3 - instrument (V,B,R for VIRUS,LRS2-B,LRS2-R)
A great convenience in using ifu_view is provided with a Base.Path file. This is a local file that "tells" the script the top level directory of the LRS2 or VIRUS data directories we are interested in. If no Base.Path is present, then the local directory (i.e. ".") is assumed. Here are some examples:
base_path observation exposure dev_name Base.Path_LRS2 603 01 B,R Base.Path_VIR 200 01 V % cat Base.Path_LRS2 /home/sco/LRS2_Nights/20160311/LRS2_images/20160311 % cat Base.Path_VIR /home/sco/sco/projects/VIRUS/VIR_from_Greg_Mar2016/VDAT/20160311Hence, I could quickly look at some VIRUS data with:
% cat Base.Path /home/sco/sco/projects/VIRUS/VIR_from_Greg_Mar2016/VDAT/20160311 % ifu_view 200 01 V % ls Base.Path Frame.1 Frame.2 Frame.3 Frame.4 S/ % cat Frame.2 /home/sco/sco/projects/VIRUS/VIR_from_Greg_Mar2016/VDAT/20160311/virus2000200/exp01/virus/2016-02-15T07:09:11.9_2016LU_sci.fitsHence, we not only have a quick view of our data, but we now have local files (Frame.#) that give us the fullpath names of the images displayed in each of our frames.