Files
GridBased/Configs/generate_frames_poly_Moench014.yaml
xie_x1andClaude Opus 5.5 0f9a3f496f Initial commit: grid-based multi-photon reconstruction
Code, configs, charge LUTs, best.pth and evaluation records for each
training run, the knife-edge / Siemens-star / XRF notebooks with
outputs, and the overnight run reports. Epoch checkpoints, inference
results and HTML exports stay local (see .gitignore).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 07:36:49 +02:00

67 lines
1.7 KiB
YAML

# GridBased frame generation -- polychromatic 5-30 keV, MOENCH014 @150 V (WP1.2)
#
# Every photon gets its own energy, its own conversion depth from that energy's
# attenuation length, and the charge cloud that the alpha(E, t) / beta(E, t)
# table gives for the resulting drift time. The single-energy stamp-reuse path
# is untouched and still lives in generate_frames_12keV.yaml.
meta:
sensor: Moench014
hv: 150 # V
pixel_size_um: 25
sensor_thickness_um: 320
depletion_voltage: 29.6 # V
temperature: 307.8 # K, = 273 + 20.0 + 14.8
generation:
mode: lut
lut: data/charge_lut_Moench014_150V.npz
spectrum:
# flat, so the regression carries no spectral prior of its own; the table
# covers 5-30 keV, and sampling to its edges means the outermost ~1 keV
# regresses with a one-sided prior
train: {mode: flat, min: 5.0, max: 30.0}
val: {mode: flat, min: 5.0, max: 30.0}
test: {mode: flat, min: 5.0, max: 30.0}
eval: {mode: flat, min: 5.0, max: 30.0}
frame:
size: 32
margin: 4
noise:
pixel_keV: 0.13
common_mode_row_keV: 0.0
common_mode_col_keV: 0.0
edge_augmentation:
fraction: 0.08
output:
folder: /mnt/sls_det_storage/moench_data/MLXID/Samples/GridBased/poly5to30keV_Moench014_150V
splits:
train:
n_shards: 12
frames_per_shard: 100_000
occupancy: {mode: loguniform, min: 0.002, max: 0.10}
val:
n_shards: 2
frames_per_shard: 40_000
occupancy: {mode: loguniform, min: 0.002, max: 0.10}
test:
n_shards: 2
frames_per_shard: 40_000
occupancy: {mode: loguniform, min: 0.002, max: 0.10}
eval_scan:
occupancies: [0.005, 0.01, 0.02, 0.05, 0.10]
frames_each: 8_000
stamp_files: [0, 1]
edge_fraction: 0.0
runtime:
n_workers: 14
seed: 20260901