Skip to main content

EMCCD detector image simulation

Project description

EMCCD Detect

Given an input fluxmap, emccd_detect will return a simulated EMCCD detector image. Website: (https://github.com/roman-corgi/emccd_detect/tree/master/emccd_detect)

Version

The latest version of emccd_detect is 2.4.0. Main differences from previous version: the ability to implement readout nonlinearity and the latest version of arcticpy for charge transfer inefficiency implementation.

Getting Started

Installing

This package requires Python version 3.6 or higher. If the user wants the ability to apply charge transfer inefficiency (CTI) to detector frames using the optional tool (older version of arcticpy which is pure Python) provided in emccd_detect, then the Python version should be >=3.6 and <=3.9. If the newer version of arcticpy (wrapper around C++ code) is installed, there is no upper limit restriction for Python version. For installation instructions and documentation for the newer arcticpy, see https://github.com/jkeger/arctic. emccd_detect works apart from arcticpy and does not require it.

emccd_detect is available on PyPI.org, so the following command will install the module (without CTI capabilities):

pip install emccd-detect

To install emccd_detect instead from this package download, after downloading, navigate to the emccd_detect directory where setup.py is located and use

pip install .

This will install emccd_detect and its dependencies, which are as follows:

  • astropy
  • matplotlib
  • numpy
  • scipy
  • pynufft==2020.0.0
  • pyyaml

To optionally implement CTI capabilities with the pure-Python arcticpy, navigate to the arcticpy directory (https://github.com/roman-corgi/emccd_detect/tree/master/arcticpy_folder), and there will be a file called setup.py in that directory. Use

pip install .

This will install arcticpy version 1.0. See (https://github.com/jkeger/arcticpy/tree/row_wise/arcticpy) for documentation. If you have Python>3.9, the CTI functionality will not work if you are using the arcticpy installation that was included with this emccd_detect package, but everything else will work fine.

Usage

For an example of how to use emccd_detect, see example_script.py.

Authors

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

emccd_detect-2.4.0.tar.gz (17.1 kB view details)

Uploaded Source

Built Distribution

emccd_detect-2.4.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file emccd_detect-2.4.0.tar.gz.

File metadata

  • Download URL: emccd_detect-2.4.0.tar.gz
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for emccd_detect-2.4.0.tar.gz
Algorithm Hash digest
SHA256 9eebe2c9bd88acfb49276eed9dae7b2214210b07274925db27a6d431479e69c8
MD5 fc760d039f281b67ad5c03b167b287da
BLAKE2b-256 c6f819000b3494405d199f75a5122289fa44076c0ca7684efc6b124e02fc19c7

See more details on using hashes here.

File details

Details for the file emccd_detect-2.4.0-py3-none-any.whl.

File metadata

  • Download URL: emccd_detect-2.4.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for emccd_detect-2.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f326705df66ea3d0ec5b03b122e47048e428fe4a9307c62de3b9ea356fb2eb10
MD5 e2c07965db1663fa09e1fca645eb2797
BLAKE2b-256 0c36595c840a244a9a19482672a995f845775295575f013d4aabcb2b5006f925

See more details on using hashes here.

Supported by

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