A package to run sim reconstructions including parameter estimation.
Project description
pyFairSIM
python version of the fast sim project
install
run:
pip install pyfairsim
settings
All settings and physical parameters are read from a json file. To get an example file run python -m create_example_settings.py and change all the explaining texts to the values you need.
run parameter estimation
To run a parameter estimation for a given sim-stack use
python -m pyfairsim.parameter_estimation -f <path-to-image> -s <path-to-settings> -o <path-to-save-settings>
For help use python -m parameter_estimation.py -h. Settings and save settings path can be the same then the obtained values overwrite the old values.
run reconstruction
To run a reconstruction for a given sim-stack use
python -m pyfairsim.reconstruction -f <path-to-image> -s <path-to-settings> -o <path-to-save-reconstructed-image>
For help use python -m reconstruction.py -h
run batch reconstruction
Runs a parameter estimation and then a reconstruction on all .tiff/.tif files in given folder and all subfolders. Command:
python -m pyfairsim.batch_reconstruction
run absolute phase estimation
Runs a non-iterative phase estimation based on auto-correlation by Wicker et al. For it to work parameter estimation needs to be executed first.
python -m pyfairsim.phase_estimation -f <path-to-image> -s <path-to-settings> -o <path-to-save-settings>
run tiled reconstruction
ATTENTION still in development!!! Tile size should be an even number, only supports square images with sizes divisible by the tile size. Overlap of the tiles for now is hard coded to be half of the tile size. Before running this a parameter estimation and phase estimation needs to be run. Tiled reconstruction will use absolute phase estimation for the tiles.
python -m pyfairsim.tiled_reconstruction -f <path-to-image> -s <path-to-settings> -o <path-to-save-reconstructed-image>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pyfairsim-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1bd531340427011825523b75e38d5b72119353a670aa3392ebc7cda8e177bf9 |
|
MD5 | dd47e9b673bb0639302791664ad15570 |
|
BLAKE2b-256 | 69aa3811b70cf8ee7d6dacf17ea71c0c83285ad44f6209b7d7be9772ed3af085 |