Versions Compared

Key

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

...

epix10ka_deploy_constants -k exp=rixx1003721,run=200 -d epixhr -D


One can get information about the pedestals or other calib constants for a run in psana by inspecting the dict

pedDict = det.calibconst['pedestals'].  E.g. pedDict[1]['run'] is the start of the validity range for the pedestal file used. 

>>> eval(pedDict[1]['extpars'])['command']

'/sdf/group/lcls/ds/ana/sw/conda2/rel/lcls2_112723/install/bin/epix10ka_deploy_constants -d epixhr -k exp=ascdaq18,run=285 -t 281 -D'




psana detector info access:

...

/sdf/data/lcls/ds/rix/rixx1003721/results/scripts/python nonBasicScript.py rixx1003721 200


One can now do e.g.

python /sdf/data/lcls/ds/asc/ascdaq18/results/scripts/dumpPVs.py ascdaq18 291 ePixHR_Temp_1,ePixHR_Temp_2,ePixHR_Humidity

to dump a list of PVs to a numpy file for a run with PVs.  These can be discovered using detnames:

detnames -e exp=ascdaq18,run=291

--------------------------------------------

Detector Name   | Epics Name                

--------------------------------------------

StaleFlags      |                           

ePixHR_Temp_1   | DET:EPIXHR:02:TEMP1       

ePixHR_Temp_2   | DET:EPIXHR:02:TEMP2       

ePixHR_Humidity | DET:EPIXHR:02:HUMIDITY    

ePixHR_Dig_in   | DET:EPIXHR:02:DIG_IN_V    

ePixHR_Ana_in   | DET:EPIXHR:02:ANA_IN_V    

ePixHR_Dig_Cur  | DET:EPIXHR:02:ASIC_DIG_CUR

ePixHR_Ana_Cur  | DET:EPIXHR:02:ASIC_ANA_CUR

--------------------------------------------