Differences between revisions 4 and 5
Revision 4 as of 2006-09-04 13:43:44
Size: 2932
Comment:
Revision 5 as of 2006-09-05 12:17:32
Size: 3550
Editor: dcesarsky
Comment:
Deletions are marked like this. Additions are marked like this.
Line 31: Line 31:
There is a CUS procedure to upload a detector selection table to PACS (either
SPECTRO or PHOTO). Selection tables are stored in the CUS database as U-CAL files.

The script to read these U-CAL files is called PACS_Det_sel (see listing in Appendix A); its CUS usage is simply
{{{
    PACS_Det_Sel("PACSDetSel_4002")
}}}
to upload the table 4002 for instance.

The CUS line command :
{{{
cus -defcmds PACS_Det_Sel("PACSDetSel_4002")
}}}
can be used to list the TCs that will be uplinked to PACS.
There is a local CUS procedure to generate TCs to upload a detector selection table into PACS (either SPECTRO or PHOTO). Detector selection tables are stored in the CUS database as U-CAL files. When creating a new selection table, the first step then is to copy it into the CUS registry as a calibration file.
Line 49: Line 36:
The CUS directory for U-CAL files is currently in The current CUS directory for U-CAL files is:
Line 60: Line 47:
To import a U-CAL table into the CUS registry, use the following command line
directive:
To import the U-CAL table PacsDetSel_4002, say, into the CUS registry, use the following CUS command line directive (we assume that you have already copied PACSDetSel_4002 to the U-CAL directory as shown here):
Line 65: Line 51:
for instance. Once the file has been succesfuly copied to the CUS registry, you may use the CUS GUI to veify its contents. Click on the "Calibration Tables" menu, choose "View a Table" from the drop sub-menu and further choose the Table name.

Now that the selection table is part of the CUS registry, you can telecommand the loading of that selection table. The script to read these U-CAL files is called PACS_Det_sel; its CUS usage is simply
{{{
    PACS_Det_Sel("PACSDetSel_4002")
}}}
This will send a series of TCs to upload into PACS the table 4002 for instance.

Note that the CUS line command :
{{{
cus -defcmds PACS_Det_Sel("PACSDetSel_4002")
}}}
can be used to list the TCs that will be uplinked to PACS.

Generate PACS DetectorSelection Table

  • Contact Roland Ottensamer <ottensamer@astro.univie.ac.at> and Ekkehard Wieprecht <ewieprec@mpe.mpg.de> that you plan to generate a new DetectorSelectionTable.

  • Start the DetectorSelection Tool as described in the PCSS User Manual Chapter 16 (e.g. upper right Button in JIDE) :

    •     IA>> from herschel.pacs.spu.edit import *
          IA>> a = DXSedit()
  • Follow the Instructions of the User Manual to generate a Detctor Selection Table for uplink (Menu -> File -> "save as TCLScript" and downlink (Menu -> File ->"save DetectorSelectionTable").

    • The TCL script you may not need when using CUS

      Some User do not trust the DetectorSelection Tool and might contact Roland Ottensamer <ottensamer@astro.univie.ac.at> to generate it. In this case Roland will send back the

      • files generated and the User continue with this procedure.

  • Convert the <number>.dxset file into CUS procedure (available from 05-Sep-2006 on) :

    •     from common import *
          dxset2Cus(<filename>,<description>)
          e.g. :
          dxset2Cus("2116.dxset","Ekkis first")

      It generate a PACSDetSel_<number> (in this example : PACSDetSel_2116

  • Send the new <number>.dxset file (generated by Menu -> File ->"save DetectorSelectionTable") to Ekkehard Wieprecht <ewieprec@mpe.mpg.de> or Wim De Meester <wim.demeester@ster.kuleuven.ac.be> for integration into PCSS

  • Send the PACSDetSel_<number> file to Diego Cesarsky <diego.cesarsky@mpe.mpg.de> and Ekkehard Wieprecht <ewieprec@mpe.mpg.de>

Loading Detector Selection Tables via CUS

There is a local CUS procedure to generate TCs to upload a detector selection table into PACS (either SPECTRO or PHOTO). Detector selection tables are stored in the CUS database as U-CAL files. When creating a new selection table, the first step then is to copy it into the CUS registry as a calibration file.

U-CAL files representing detector selection tables are called PACSDetSel_xxx, where xxx represents the detector selection number.

The current CUS directory for U-CAL files is:

/home/cususer/pacs/cus/CALU

Existing DetSel tables are

CALU/PACSDetSel_100   CALU/PACSDetSel_4002  CALU/PACSDetSel_4006
CALU/PACSDetSel_2001  CALU/PACSDetSel_4003  CALU/PACSDetSel_4007
CALU/PACSDetSel_2300  CALU/PACSDetSel_4004  CALU/PACSDetSel_4008
CALU/PACSDetSel_4001  CALU/PACSDetSel_4005  CALU/PACSDetSel_4009

To import the U-CAL table PacsDetSel_4002, say, into the CUS registry, use the following CUS command line directive (we assume that you have already copied PACSDetSel_4002 to the U-CAL directory as shown here):

pacs/cus> cus -f -uploadcal CALU/PACSDetSel_4002

Once the file has been succesfuly copied to the CUS registry, you may use the CUS GUI to veify its contents. Click on the "Calibration Tables" menu, choose "View a Table" from the drop sub-menu and further choose the Table name.

Now that the selection table is part of the CUS registry, you can telecommand the loading of that selection table. The script to read these U-CAL files is called PACS_Det_sel; its CUS usage is simply

    PACS_Det_Sel("PACSDetSel_4002")

This will send a series of TCs to upload into PACS the table 4002 for instance.

Note that the CUS line command :

cus -defcmds PACS_Det_Sel("PACSDetSel_4002")

can be used to list the TCs that will be uplinked to PACS.

Herschel: PACS/FM_ILT_Procedures/PcssProcedures (last edited 2009-07-15 14:32:36 by localhost)