Skip to content

Instantly share code, notes, and snippets.

@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.
@tjlane
tjlane / multiplex_sensing_simulations.ipynb
Last active July 29, 2019 01:42
Simple simulations showing the performance of different sensing matrices, using and not using sparsity
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.