Versions Compared

Key

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

...

Schedule to be discussed.

 

time slotstaff
shift 16pm-1amKaz, Philip, Xavier, Conny, Julian.
shift 211pm-6amBhavna, Dionisio, Conny (as needed), Gabriel.

 



shift 16pm-1amDionisio, Kaz, Conny, Philip, Gabriel.
shift 211pm-6amConny, Bhavna, Xavier.

 



shift 16pm-1amConny, Dionisio, Bhavna (remote, only there until 22:00hrs), Xavier, Gabriel.
shift 211pm-6amConny (as needed), Kaz, Philip.

Experimental setup

The section will be filled out once the experiment is set up. Previous setup for reference:

Image RemovedImage AddedImage Added

Fig. Temp.. Setup with small 10k's (ff and sf). Wave-8 diodes not mounted.


Image Added

Fig. Final setup for the small 10k's. In picture, NG and FF cameras Previous setup for show.


Measurement plan:

15 July 2023(?):

...

Fig 4. Transfer function epix10k small. Original delay shown acqtoasicrodelay = 18223.OOriginal acqtoasicr0delay=18223riginal acqtoasicr0delay=18223Original acqtoasicr0delay=18223


Pinhole experiment and Comp en on & off:

...

Complete calibration of the small ePix10k's (from, side, NG). Make sure we use dropped shots.

Beamtime plan:

View file
namebeamtime plan.xlsx
height250
View file
namebeamtime plan v2.xlsx
height250

excel sheet of the expected measurements.

File containing the run number descriptions:

Loggbok location:

/sdf/home/n/nakahara/analysis/detectors/IH/epix10k_mfxx10050_20230715

night 1 - notes

night 2 - notes2 + loggbook

night 3 - loggbook.

View file
namenotes.xlsx
height250
View file
namenotes2.xlsx
height250
View file
nameloggbook (notes3).xlsx
height250


Notes and observations from the beamtime and subsequent data analysis:

commands in hutch python:

get to hutch python from mfx-daq by typing mfx3. Commands of interest:

att(x) - sets the transmission to x. so x=0.20 gives 20% transmission;

lcls.bykik_get_period() - gets the drop period. So if you get 137, it drops every 137 shot

lcls.bykik_set_period(x) - drops every xth event (x=137 drops every 137 event, x=2 drops every second event)

Gain configuration settings:

Table A1. Tr_bit and pixel config file combinations required to get specific gain mode for the ePix10 small.

Gain mode

Tr_bit value

Pixel config file

FH

1

12 (mode_12.txt - yellow)

FM

0

12 (mode_12.txt - yellow)

FL

Does not matter

8 (mode_8.txt - brown)

AHL

1

0 (mode_0.txt - red)

AML

0

0 (mode_0.txt - red)

AHL-L

1

4 (mode_4.txt - salmon)

AML-L

0

4 (mode_4.txt - salmon)


Folder structure:

cd /sdf/data/lcls/ds/mfx/mfxx1005021/results
(ana-4.0.48-py3) ls
lowFlux  philiph  scan  scripts

The idea is to put scripts under scripts and scan or lowFlux ntuples/.npy files etc under scan or lowFlux.  This is how I had things set up on the old psana.

To copy the files to another experiment (from mfxx1005021 to xcsc00120), then use:

cp -rp /sdf/data/lcls/ds/mfx/mfxx1005021/results/scripts /sdf/data/lcls/ds/xcs/xcsc00121/results/scripts

cp -rp /sdf/data/lcls/ds/mfx/mfxx1005021/results/scripts /sdf/data/lcls/ds/xcs/xcsc00121/results/scan

cp -rp /sdf/data/lcls/ds/mfx/mfxx1005021/results/scripts /sdf/data/lcls/ds/xcs/xcsc00121/results/lowFlux

however, you will lijkely not want to copy all the files in scan and lowFlux, so it might be easier to just create them in the folder for the new experiment.

Instructions to run the DAQ scripts and analysis:

Script description, please see: Script descriptions

Attenuator scans:

DAQ scans:

  1. intensity scan that produces multiple files:

Leland has written a new attenuator scan script for us.  To use this, go on mfx-daq and:

  1. if in mfx-monitor, then ssh mfx-daq
  2. Start mfx hutch python by typing "mfx3"
  3. import numpy as np
  4. scan_list = [1,0.66,0.33,0.1,0.05] (i.e 100%, 66%, 33%, 10%, 5%)
  5. x.attenuator_scan(events=240,record=True,config=False,transmissions=scan_list)

         

          to just manually change the attenuation, write att(20) in the hutch python.


The DAQ needs to be in the configured state before running this script.

2. intensity scan that produces a single file:

x.attenuator_single_scan(events=12000,record=True,transmissions=[1.0,0.8, 0.61,0.4,0.2,0.1,0.05,0.01])

1.0,0.8, 0.61,0.4,0.2,0.1,0.05,0.01 are the transmissions with 1.0 having no attenuation, and 0.01 being 1% transmission.

Analysis script:

??????


Timing scans:

DAQ scan:

Run the following:

~ddamiani/Workarea/daq/daq-dev/tools/scanning/epix10ka_scan_exponential -L yes -e 100 --start 1000 -f 2000 -n 9 -P AcqToAsicR0Delay -p 0 -D MfxEndstation -t 2

use -h to get variable description.

-e events

--start starting scan position

-f finishing position

-n number of steps in the intervall

-P scanning variable to change


Analysis scripts:

You can find it here: /sdf/data/lcls/ds/mfx/mfxx1005021/results/scripts

You can call it with: >python -i TimeScan.py -d Epix10ka -r 472


Dropped shot visualization:

One can run e.g. python persistenceCheck.py -r 272 -d Epix10ka2M --maxNevents 450000 with the usual base class to analyze persistence.  The script stores the mean and flux of kicked events and the immediately preceding events and also makes a dumb plot.


Check the detector configurations.:

 (ana-4.0.48-py3)  /sdf/group/lcls/ds/daq/current/build/pdsapp/bin/x86_64-rhel7-opt/configdb_readxtc -e ./xtc/


Updated default run for intensity scans:

Results:

Link to analysis plan:

Beamtime run notes (Bhavna):

https://docs.google.com/document/d/1eYhR0q_LjSd4DGc9OnYuBl2aFFucNxmGOBq_E0NMT5g/edit

Analysis plan (Bhavna):

https://docs.google.com/spreadsheets/d/10m2vQLeCrlIA53khhRLaTRqm4YGobh0RGqGaE3A_WL8/edit

Primary finding for smalls: the detector is marginally timed in, which is causing the low values after switching. The delay, ACQToAsicR0delay, should be shifted from 18223 to 17223.

Google Drive folder for presentations with results etc.:

https://drive.google.com/drive/u/1/folders/1oolbkUqPAMD76qWZYiGQvVKIQPCqUfBS

Initial simulations of effects for getting the timing wrong. (Conny)

View file
nameNon-linearity when pulse arrives before the ACQ window.pptx
height250

Overview of initial findings. (Conny)

View file
nameStart of analysis for mfxx1005021 – July 17.pptx
height250


Register settings for the various cameras for easy access. (Conny)

View file
nameRegister settings for differnet epix detectors.pptx
height250

Small study of the double population. (Xavier)


View file
nameDouble population Image and Timing.pptx
height250

Timing in an ePix detector with LCLS timing system - VB (Dionisio)

View file
nameTiming in an ePix detector with LCLS timing system - VB.pptx
height250

Double population (Xavier)

View file
nameDouble population.pptx
height250