psana

COMMON UPDATES

  • composition of the dsname parameter for psana.DataSource(dsname) is unified for scripts which used -e <exp> and -r <run> parameters. All additional parameters (if used) were replaced by --dsnamex (data source name extension).
    • If dsnamex parameter is missing or None, dsname is set to "exp=<exp>:run=<run>".
    • if dsnamex begins with colon (:), its value is used as an extension of dsneme, e.g.: "exp=<exp>:run=<run><dsnamex>".
    • Otherwise, if it is not None and does not begin with (:), dsname = dsnamex.
    • Even if dsnamex is defined for replacement of dsname, it would be better to supply -e <exp> and -r <run> parameters, which sometimes used independently.
  • All calibration scripts set newly created directory/file permission and group ownership using parameters --dirmode=2775, --filemode=664, --group='ps-users'.
  • Other minor problems have been fixed


UPDATES IN DETAIL

* datinfo - renamed dssuffix -> dsnamex
* calibrun - renamed parameters xtcdir -> dsnamex, --thr_rms -> thr_rms_max
    - remove -p, --print_bits; -L, --loadcfg; -q, --queue

    -> det_ndarr_raw_proc - OK AS IS (TODO: change algorithm for generic one)

* calibfile - remove parameter verbos - DOES NOT LOOK AT DATA

* geometry_deploy_constants - remove dssuffix, dsname -> dsnamex
* deploy_constants          - remove dssuffix, dsname -> dsnamex
  dcs - left unchanged
* DEPRECATED: epix10ka_offset_calibration - remove usesmd, dirxtc -> dsnamex
* epix10ka_pedestals_calibration          - remove usesmd, dirxtc -> dsnamex
* epix10ka_deploy_constants               -                dirxtc -> dsnamex

* jungfrau_dark_proc      - OK AS IS
* jungfrau_deploy_constants               -                dirxtc -> dsnamex
* jungfrau_gain_constants - OK AS IS - fixed log file name (Vincent)


UPDATED PACKAGES

  • Detector
    • V02-00-54 - numerous update, see doc/ChangeLog
    • V02-00-55 - update app/det_ndarr_raw_proc; move code to UtilsDarkProc.py, use universal class  DarkProc
  • PSCalib
    • V02-00-43 - add/rename/change/use parameter --dsnamex, --dirmode=2775, --filemode=664, --group='ps-users'
  • CalibManager
    • V02-00-15 - multiple code update for psana/s3df
    • V02-00-16 - update for src/FileDeployer.py and src/FileNameManager.py
  • No labels