cmos-noise-map-0.1.4
توضیحات
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.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cmos-noise-map-0.1.4 |
| نام | cmos-noise-map |
| نسخه کتابخانه | 0.1.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Prerana Kottapalli |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/cmos-noise-map/ |
| مجوز | - |
# CMOS Noise Map
[](https://github.com/LCOGT/cmos-noise-map/actions/workflows/python-app.yml)
[](https://cmos-noise-map.readthedocs.io/en/latest/?badge=latest)
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.
```
نیازمندی
| مقدار | نام |
|---|---|
| >=5.2.1,<6.0.0 | astropy |
| >=8.1.3,<9.0.0 | click |
| >=0.7,<0.8 | glob2 |
| >=8.9.0,<9.0.0 | ipython |
| >=3.6.3,<4.0.0 | matplotlib |
| >=0.18.1,<0.19.0 | myst-parser |
| >=0.8.12,<0.9.0 | nbsphinx |
| >=1.24.1,<2.0.0 | numpy |
| >=1.5.3,<2.0.0 | pandas |
| >=2.3,<3.0 | pandoc |
| >=7.2.1,<8.0.0 | pytest |
| >=1.2.1,<2.0.0 | scikit-learn |
| >=1.10.0,<2.0.0 | scipy |
| >=4,<6 | sphinx |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8,<3.12 | Python |
نحوه نصب
نصب پکیج whl cmos-noise-map-0.1.4:
pip install cmos-noise-map-0.1.4.whl
نصب پکیج tar.gz cmos-noise-map-0.1.4:
pip install cmos-noise-map-0.1.4.tar.gz