Skip to main content

A tool to create a read noise map for CMOS detectors by modelling Random Telegraph Signal. This was originally created for use by LCOGT's BANZAI pipeline.

Project description

CMOS Noise Map

Python application

Documentation Status

Code to model random telegraph noise in a CMOS detector. Originally designed for the Las Cumbres Observatory BANZAI pipeline. Authors: Prerana Kottapalli, Matt Daily, Curtis McCully

Read the docs: https://cmos-noise-map.readthedocs.io/en/latest/index.html

Installation

From PyPi

pip install cmos-noise-map

From Github

To install the tool, clone this repository and run:

pip install poetry
cd cmos-noise-map
poetry install

Tests

To run the unit tests, simply run:

poetry run pytest

Usage

Once you've installed the tool, it can be run simply by: rts-maker <path> <options> <write filename>

Usage: rts-maker [OPTIONS] PATH [METHOD] [FILEPATH]

  This script builds a noise map with the chosen method.

  path: Path to input without the .fits at the end

  filepath:OPTIONAL Path to write file

  method: Default method is std. Available methods are std, rts, and param.
  See docs for more information about each method.

Options:
  -r, --data_ext TEXT             Extension of fits file that contains the
                                  image data
  -uq, --upper_quantile FLOAT     Standard deviation cutoff for pixel noise
                                  evaluation
  -t, --tolerance FLOAT           The minimum difference between silhouette
                                  scores. See docs for more information.
  -m, --min_peak_separation FLOAT
                                  Minimum difference between pixel value
                                  cluster centers to be considered separate
                                  clusters
  -o, --out_hdu_name TEXT         Name for the header in which the data will
                                  be stored
  -f, --fpack                     Adding this option will fpack your output
                                  fits file
  -b, --bias_check                Adding this option will skip the check to
                                  see if files used are bias files  [default:
                                  True]
  --help                          Show this message and exit.

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

cmos_noise_map-0.1.4.tar.gz (42.0 kB view details)

Uploaded Source

Built Distribution

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

cmos_noise_map-0.1.4-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

Details for the file cmos_noise_map-0.1.4.tar.gz.

File metadata

  • Download URL: cmos_noise_map-0.1.4.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for cmos_noise_map-0.1.4.tar.gz
Algorithm Hash digest
SHA256 161eb97a27f2ab151ff33aaabd3d20cc1e6409ff4455a7ce8f62ac8852304f22
MD5 2a1c1a1ab1adf786d5a00b23695e11cf
BLAKE2b-256 b9820e84710a89e8b5091f8d3fc4455a14550151b9f82acfc0fb06fbf8f74d6e

See more details on using hashes here.

File details

Details for the file cmos_noise_map-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: cmos_noise_map-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.12

File hashes

Hashes for cmos_noise_map-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 41bcd5d8c65812070c5cb2d0871326e3fff99c83b63c19a21dfcc357f905eb40
MD5 1bfe2617c1da7660dabb98dc0126e266
BLAKE2b-256 4cb5fa26b2296854b45c29c4401ae8eaf1f8ac84e2a06f8fcd584d3cb08c3a70

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