Differences between revisions 6 and 7
Revision 6 as of 2006-09-05 12:23:30
Size: 3551
Editor: dcesarsky
Comment:
Revision 7 as of 2006-09-05 13:47:47
Size: 3570
Editor: dcesarsky
Comment:
Deletions are marked like this. Additions are marked like this.
Line 61: Line 61:
cus -defcmds PACS_Det_Sel("PACSDetSel_4002") cus -cmds PACS_Det_Sel PACSDetSel_4002
Line 63: Line 63:
can be used to list the TCs that will be uplinked to PACS. can be used to list on your terminal window 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 verify 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 -cmds PACS_Det_Sel PACSDetSel_4002

can be used to list on your terminal window the TCs that will be uplinked to PACS.

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