Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfairsim-0.0.3.tar.gz (33.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfairsim-0.0.3-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

Details for the file pyfairsim-0.0.3.tar.gz.

File metadata

  • Download URL: pyfairsim-0.0.3.tar.gz
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for pyfairsim-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1e86c15b312a5c1ef0bf69c17729a85422608c5747f8016975732eca8f6d92af
MD5 64f868c8cd5034d2c34bed4220d32526
BLAKE2b-256 3ea47a20752d9ec29b88e1c2cf53724392e735b081d979ceca816c369d462a23

See more details on using hashes here.

File details

Details for the file pyfairsim-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pyfairsim-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 38.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for pyfairsim-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f1bd531340427011825523b75e38d5b72119353a670aa3392ebc7cda8e177bf9
MD5 dd47e9b673bb0639302791664ad15570
BLAKE2b-256 69aa3811b70cf8ee7d6dacf17ea71c0c83285ad44f6209b7d7be9772ed3af085

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page