Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
control_bits_table
control_bits_table

Control bits table

000
  DataconfigDataasicPixelConfigArray
IndexGain modebit14trbitbit14bit3: gabit2: gbit1: Maskbit0: Test
0FLFH_LHx1101  
1FM_Mx0111  
2FHFL_HL1x1x110  
3AMLAHL_LH01100  
4AML_M10100  
5

AHL_L

0100  
6AHLAML_HL101000  
pixel control bit array1<<5 =321<<4 =161<<3 =81<<2 =4Not usedNot used

...

These commands will be available in releases > ana-1.3.58. See description using option "-h", e.g.

command> epix10ka_offset_calibration -h

command> epix10ka_pedestals_calibration -h

File naming

...

convention in panel calibration repository

/reg/g/psdm/detector/gains/epix10k/panels/ - default repository <dir-repo>, can be re-directed for test by option "-o <dir-name>".

File with aliases for long panel ids: /reg/g/psdm/detector/gains/epix10k/panels/aliases.txt

Directory for particular panel includes its long id:

/reg/g/psdm/detector/gains/epix10k/panels/<dir-repo>/3791847426-0170080513-1879048214-0191557724-0003673288-2996154369-0218103833/ - directory for particular panel includes its long id,

Sub-directories for each panel:

  • offset
  • pedestals
  • plots
  • work
  • gain # content will be provided by Philip

<dir-repo>/.aliases.txt - file with aliases for long panel ids,

<dir-repo>/panels/logs/ - directory for log files,

Panel calibration file name: epix10ka_0001_20180514120622_mfxx32516_r1021_pedestals_AHL-H.dat, where

  • epix10ka - detector type
  • 0001 - panel id alias as specified in /reg/g/psdm/detector/gains/epix10k/panels/.aliases.txt
  • 20180514120622 - run start time stamp in format '%Y%m%d%H%M%S'
  • mfxx32516_r1021 - experiment and run for production of this constants
  • pedestals - constants type
  • AHL-H - gain range (mode)

File with already processed arrays is saved as

...<dir-repo>/<panel-id>/work/epix10ka_0001_20180514120622_mfxx32516_r1021_e1107_spacing02sp02-df.npz

with extra fields in name e1107_spacing02 sp02  for experiment number and charge injection spacing number of pixels.

Constants merging for

...

multi-panel detectors

TBD

...

command> epix10ka_deploy_constants -h

shows description of command line options. This command with sufficient number of parameters (at least experiment, run, and detector name)

  • combines gain mode and panel calibration files in arrays of shape (7, <number-of-panels>, 352, 384)

...

  • deploys calibration files in the calib directory, e.g.

/reg/d/psdm/MFX/mfxx32516/calib/Epix10ka::CalibV1/MfxEndstation.0:Epix10ka.0/pixel_gain/0-end.data

/reg/d/psdm/MFX/mfxx32516/calib/Epix10ka::CalibV1/MfxEndstation.0:Epix10ka.0/

...

pedestals/0-end.data

 

Pedestal Deployment Meeting Notes (8/2/18)

...