mirror of
https://github.com/c-sooyoung/bo-ptycho.git
synced 2026-09-17 17:19:08 +09:00
1.0 KiB
1.0 KiB
bo-ptycho
This code is a (re)implementation of Bayesian Optimized ptychography in python for use at LEMON lab, used for
- Optimization-based Thickness Estimation and FIB-induced Damage Characterization of TEM Sample via Multislice Electron Ptychography (manuscript)
Code usage
Prerequisites:
- Create a python virtual environment with requirements.txt
- Download fold_slice
- Download experimental data
Reconstruction and parameter optimization:
- Edit config.yaml
- Example configurations can be found under
examples/silicon-fib/ - Set io.input_data_path and io.result_dir as needed (WARNING: the result directory will be completely removed)
- Set ptycho.path to your fold_slice path
- Example configurations can be found under
- Edit job.sub
- Set the SBATCH configurations as needed (especially
gresandoutput) - The number of GPUs should match bo.batch in config.yaml
- Set the virtual environment path
- Set the config.yaml path
- Set the SBATCH configurations as needed (especially
- Submit the job via SLURM