Skip to content

Instantly share code, notes, and snippets.

@tjlane
tjlane / X3P4S1_HEC16-X3P4S1_HEC16_stats.txt
Last active April 5, 2025 13:30
plot CC1/2 vs resolution based on AMACORD tables
Resolution (Å) Reflections Possible reflections Completeness (%) Multiplicity SNR Rsplit CC1/2 CC*
54.348–6.349 1,337 1,336 100.07 2,324.8 13.74 7.15 0.988 0.997
6.349–5.04 1,238 1,238 100 1,903.5 10.73 9.4 0.984 0.996
5.04–4.403 1,229 1,229 100 1,868.8 11.56 8.94 0.983 0.996
4.403–4.002 1,204 1,204 100 1,893.3 11.02 9.38 0.981 0.995
4.002–3.715 1,203 1,203 100 1,927.2 9.58 10.71 0.98 0.995
3.715–3.495 1,180 1,180 100 1,959 7.66 13.31 0.972 0.993
3.495–3.32 1,212 1,212 100 2,009.9 6.36 16.52 0.955 0.988
3.32–3.176 1,188 1,188 100 2,056.6 4.89 22.08 0.923 0.98
3.176–3.053 1,162 1,162 100 2,103.5 3.74 28.77 0.872 0.965
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tjlane
tjlane / example.stream
Last active May 17, 2023 08:48
crystal orientations
CrystFEL stream format 2.3
Generated by CrystFEL 0.9.1
indexamajig -j 32 -i /sf/alvra/data/p19638/work/tuning_param/indexing_TD/dark_index/streams/run_19_acq.lst -g /sf/alvra/data/p19638/work/tuning_param/geom_files/pl_swissfel_reserv_4.geom -o /sf/alvra/data/p19638/work/tuning_param/indexing_TD/dark_index/streams/indexing_dark_run_19_reserv_4_laser_0.0.stream --peaks=peakfinder8 --int-radius=2,3,6 --threshold=1200 --min-snr=8.0 --min-pix-count=2 --max-pix-count=50 --local-bg-radius=5 --min-res=50 --max-res=600 --indexing=xgandalf -p /sf/alvra/data/p19638/work/tuning_param/indexing_all/pl_mmCPD_euXFEL_vAlex.cell --multi --no-check-peaks --min-peaks=10 --push-res=1
Indexing methods selected: xgandalf
----- Begin geometry file -----
; Manually adjusted by V Apostolopoulou, based on adjustments made from E Beale 26/7/2022
;Panels are arranged like this:
;19 15 11 7
;20 16 12 8
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tjlane
tjlane / training_view.ipynb
Created June 17, 2020 15:44
Visualize training examples for P11 autocentering
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tjlane
tjlane / XDS.INP
Last active February 19, 2020 15:59
MeV UED MicroED
!*****************************************************************************
!
! XDS input file created by TJL Feb 2020 for solving MeV UED structure
! - 4.2 MeV e-
! - yaw geometry
! - median filter spots
!
!*****************************************************************************
!====================== DETECTOR PARAMETERS ==================================
@tjlane
tjlane / simulation.ipynb
Created January 15, 2020 15:54
Simple gas-phase like simulation for time stamp correction
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tjlane
tjlane / gradient_plot.ipynb
Created January 11, 2020 01:15
time resolved plotting
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tjlane
tjlane / gradient_plot.ipynb
Created January 11, 2020 01:15
time resolved plotting
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tjlane
tjlane / GI_Errors.ipynb
Created October 8, 2019 10:04
per-pixel GI errors
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.