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.5.0. Main differences from previous version, 2.4.0: --the ability to implement smear due to exposure of some rows while others are being read out. Credit for this smearing code: Peter Williams, Tellus1, 2024. --the ability to implement non-uniformity in pixel response via an input master flat. Assumed to be a FITS file.

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.5.0.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

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

emccd_detect-2.5.0-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: emccd_detect-2.5.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for emccd_detect-2.5.0.tar.gz
Algorithm Hash digest
SHA256 41a34e89a05c11a28eee3ced09861ba041be8d491be228344b20df97aa481116
MD5 dd4c8fcd8c3574aeadbc5e521bc8cdd4
BLAKE2b-256 2910d7cdf5263727d5cf3fd1bcfd0a67d5eaf615e2eeb854e0ff1787b25a8831

See more details on using hashes here.

File details

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

File metadata

  • Download URL: emccd_detect-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 19.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for emccd_detect-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b827b27c3241554a51e50f519b4a7b5ea287ab50b3a05d23df9ad286e14e392e
MD5 905b3fdd71c4b89b24e2f237d58bfc34
BLAKE2b-256 9d2a6afeafe51c5d3985b138d95ad8ecd726334a4447bc721bcaee5195c5fada

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