Delete 4dstem/simulated_au_nanobeam_pg_dose1
Browse filesFiles changed (7)
- 4dstem/simulated_au_nanobeam_pg_dose1/README.mdDeleted-81
- 4dstem/simulated_au_nanobeam_pg_dose1/SHA256SUMSDeleted-6
- 4dstem/simulated_au_nanobeam_pg_dose1/geometry.jsonDeleted-98
- 4dstem/simulated_au_nanobeam_pg_dose1/meta.jsonDeleted-39
- 4dstem/simulated_au_nanobeam_pg_dose1/noise-recipe.jsonDeleted-47
- 4dstem/simulated_au_nanobeam_pg_dose1/truth-events-dose-1.0_data_000001.h5Deleted-3
- 4dstem/simulated_au_nanobeam_pg_dose1/truth-events-dose-1.0_master.h5Deleted-3
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081# Synthetic Au nanobeam: start with TV
Download **one noiseless abTEM scan**, not a collection of generated outputs.The HDF5 master/data pair is about **121 MiB**: 32×32 scan positions,192×192 detector pixels, dose-1 expected detected events in float32.`geometry.json` supplies sampling and beam center; `noise-recipe.json` suppliesexplicit synthetic parameters and random seeds. `SHA256SUMS` checks these inputs.
The tutorial generates its noisy observation, independent dark/flat exposures,validity maps and `.pt` calibration artifacts **locally on CUDA**. Localpreparation took **1.2 s** on one RTX PRO 6000. Nothing is rounded to integercounts before denoising. No measured experimental data or trained weights areincluded. abTEM is not required to consume this precomputed expectation.
## Which tutorial first?
Use the matching Denova development checkout and its `docs/tutorials` directory:
1. **4dstem_2_tv.ipynb — recommended first.** About **36 s** for TV1 strength selection/reconstruction, **42 s** across the original full notebook before download. Local measurement preparation adds about 1.2 s. This measured 32×32 example ran under one minute; other GPUs, first-use compilation and contention may take longer.2. **4dstem_3_shine.ipynb — experimental comparison.** About **271 s (4½ min)** for 64 epochs × 128 steps and reconstruction, **276 s** across all cells before download/preparation. No pre-trained model is needed.3. **4dstem_1_synthetic.ipynb — optional specimen regeneration.** About **12 s** across code cells, including a **6.94 s** propagation/detector stage. This requires abTEM, ASE, CuPy and the separate abtem-cuda accelerator.
Keep `synthetic_detector.py` beside the denoising notebooks. Install thematching development code with `pip install -e '.[fourdstem]'`; a releasedDenova version containing this revised API has not been verified. The testedinstalled versions were QuantEM.GPU 0.0.1rc15 and QuantEM.Widget 0.0.1rc41.
```pythonfrom quantem.widget.io import hubfrom pathlib import Pathfrom synthetic_detector import prepare_measurements
source = Path(hub.download("simulated_au_nanobeam_pg_dose1", repo="bobleesj/quantem-data"))data = prepare_measurements(source, Path("4dstem-results/inputs"))```
The notebooks load the generated acquisition through QuantEM.GPU, let youinspect a native scan rectangle in Show4DSTEM, independently fit detectornoise with `PoissonGaussian.calibrate`, show its maps and variance chart,denoise, and compare truth/noisy/result at the same scan position. Truth andgenerator parameters do not enter denoiser training or result selection.Calibration `.pt` files and reconstruction outputs are saved locally.
## Measured quality: execution is not acceptance
On this new example, TV1 reduced ADU RMSE from **2.45 to 1.67**, but the0–5% radial detector band failed the declared residual criteria. SHINE-PGincreased RMSE from **2.44 to 3.59**, with failures in both inner bands.Both selectors returned `no_feasible_candidate`. The methods evaluate theirown processed masks; their RMSE rows are not a common-support ranking.Use TV first for exploration, retain the failed audits, and do not inferzero false peaks or scientific acceptance from a smooth image.
## What is and is not simulated?
300 kV, 0.622 mrad convergence, four static Au nanoparticles and a declared25% diffuse Gaussian angular response (4 mrad SD). The background isillustrative, not atomistic water/window scattering. Static-lattice andinfinite-projection assumptions require physical convergence studies.Four accelerated patterns were bit-identical to native GPU abTEM; thatchecks numerical execution, not experimental realism.
The local recipe draws independent Poisson events plus additive Gaussiannoise, with spatial gain, offset and four invalid detector pixels. Darksand multilevel flats use separate seeds from the science observation.This is a general positive-read-noise baseline, **not validated ARINA count-rate,charge-sharing or covariance physics**, nor a reproduction of the frozen paper.The older complete upload remains in version history; current downloads keeponly the reusable simulation input and small metadata.
Experimental inspiration: **Serin Lee and Andrew Barnum**,[Au liquid-cell dataset](https://doi.org/10.5281/zenodo.18167694), CC BY 4.0.Their experimental observations are not distributed here.123456da8d46245c5dd3c083dddf36a9a9aa6c9734ba380ff74421372d7d7d1927d4e1 README.mda517d38291b837fad683051874e3ab8b7b82d09e1888e1f45ff08910f1d19e13 geometry.json35095b4ea696cd4051bdd5882c18029915a9315a3a6e36823699f983d49b843f meta.json6a355e059ab64cd3992b6fe998acc03f57c5a79e42b1915b497e75807ecd81ea noise-recipe.json56b93a7558d0a22ece0701c1d8c3dd1b06d7d334c6ac603b7d623b537e9b34c5 truth-events-dose-1.0_data_000001.h50307c2b0f26ada4ee8ec21fe0c0810daad591c367cf584eb1b43b122f240c0b0 truth-events-dose-1.0_master.h51234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798{ "scan_shape": [ 32, 32 ], "detector_shape": [ 192, 192 ], "detector_center": [ 98.56053351439273, 100.36161400706591 ], "radius_100_percent": 96, "scan_step_A": 6.875, "cell_A": [ 220, 220, 60 ], "energy_eV": 300000, "semiangle_mrad": 0.622, "defocus_A": 0, "grid": [ 1728, 1728 ], "slice_thickness_A": [ 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0 ], "angular_sampling_mrad": 0.3579543435950485, "detector_integration": "4x4 simulated angular samples; native 192x192 output", "projection": "infinite", "lattice": "static; no frozen phonon convergence", "diffuse_fraction": 0.25, "diffuse_sigma_mrad": 4, "liquid_model": "assumed angular convolution, not atomistic liquid/window physics", "abtem_parity": { "bit_identical": true, "max_abs_error": 0.0, "relative_l2": 0.0 }, "scan_seconds": 6.936930592637509, "timing_scope": "propagation, diffuse response, detector integration; excludes setup/parity", "axis_convention": "abTEM x,y mapped to scan/detector row,col in this example", "realism": "physically motivated synthetic; not validated ARINA or matched to Serin", "relative_doses": [ 1.0 ], "incident_events_per_position": 90000, "science_seeds": [ 1000 ], "calibration_seeds": { "dark": 2000, "flat": 2001, "check": 2002 }, "noise_model": "independent Poisson arrivals plus additive Gaussian ADU", "versions": { "denova": "0.0.1.dev318+g0b24283c8", "abtem": "1.0.9", "quantem.gpu": "0.0.1rc15", "cupy": "14.2.0", "abtem_cuda_module_sha256": "3d7a59c30f32762dacfd482486ec32e25e1fc8e83792c52ac612b85820b10478" }, "storage": "QuantEM.GPU bitshuffle/LZ4 HDF5; lossless float32; one dose-1 expectation", "data_credit": "Serin Lee and Andrew Barnum, Zenodo 10.5281/zenodo.18167694 (inspiration only)"}123456789101112131415161718192021222324252627282930313233343536373839{ "name": "Synthetic Au nanobeam Poisson-Gaussian dose 1.0", "source": "abTEM-cuda synthetic Au nanobeam scan; assumed independent Poisson-Gaussian detector; no experimental measurements", "date": "2026-10-11", "sample": "Four static Au nanoparticles and an illustrative diffuse angular response", "shape": [ 32, 32, 192, 192 ], "dtype": "float32", "permission": { "received": true, "from": [ "bobleesj" ], "collectors": [ "Synthetic generator; no microscope acquisition" ], "date": "2026-10-11" }, "sampling": [ 6.875, 6.875, 0.3579543435950485, 0.3579543435950485 ], "units": [ "angstrom", "angstrom", "mrad", "mrad" ], "voltage_kV": 300, "semiangle_mrad": 0.622, "relative_dose": 1.0, "credit": "Serin Lee and Andrew Barnum, DOI 10.5281/zenodo.18167694, experimental inspiration only"}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ "detector_shape": [ 192, 192 ], "gain": 1.5, "gain_modulation": 0.04, "gain_row_scale": 13, "gain_col_scale": 19, "offset": 2, "offset_modulation": 0.15, "offset_row_scale": 21, "read_noise_sd": 0.6, "max_events": 32768, "invalid_pixels": [ [ 12, 22 ], [ 30, 161 ], [ 150, 32 ], [ 177, 170 ] ], "science_seed": 1000, "dark_seed": 2000, "flat_seed": 2001, "check_seed": 2002, "dark_repeats": 512, "flat_repeats": 256, "check_repeats": 128, "flat_levels": [ 1.0, 16.0, 256.0, 4096.0, 32768.0 ]}123version https://git-lfs.github.com/spec/v1oid sha256:56b93a7558d0a22ece0701c1d8c3dd1b06d7d334c6ac603b7d623b537e9b34c5size 126072312123version https://git-lfs.github.com/spec/v1oid sha256:0307c2b0f26ada4ee8ec21fe0c0810daad591c367cf584eb1b43b122f240c0b0size 85684dstem/simulated_au_nanobeam_pg_dose1/README.mdDeleted-81
4dstem/simulated_au_nanobeam_pg_dose1/SHA256SUMSDeleted-6
4dstem/simulated_au_nanobeam_pg_dose1/geometry.jsonDeleted-98
4dstem/simulated_au_nanobeam_pg_dose1/meta.jsonDeleted-39
4dstem/simulated_au_nanobeam_pg_dose1/noise-recipe.jsonDeleted-47
4dstem/simulated_au_nanobeam_pg_dose1/truth-events-dose-1.0_data_000001.h5Deleted-3
4dstem/simulated_au_nanobeam_pg_dose1/truth-events-dose-1.0_master.h5Deleted-3