Exocounts
Exocounts computes various statistical noises of astronomical photon counts observations. Very easy task? Yes, I know, but people sometimes make mistakes in photon number calculations, which can have serious consequences.
Exocounts defines InstClass, TargetClass, ObsClass, something like that.
ejas=exocounts.InstClass()
ejas.lamb = 1.35*u.micron #micron
ejas.dlam = 0.5*u.micron #micron
ejas.dtel = 0.35*u.m #telescope diameter m
ejas.dstel = 0.14*u.m #secondary telescope diameter m or 12.4 (3 tels)
ejas.throughput = 0.8
ejas.ndark = 15.5/u.s #dark current
ejas.nread = 15.0 #nr
ejas.fullwell = 150000.
target=exocounts.TargetClass()
target.teff = 3000.0*u.K #K
target.rstar = 0.2*const.R_sun #Rsolar
target.d = 15.0*u.pc #pc
obs=exocounts.ObsClass(ejas,target)
obs.texposure = 0.0833*u.h #cadence [hour]
obs.tframe = 12.5*u.s #time for one frame [sec]
obs.napix = 15 # number of the pixels in aperture
S=1.8*1.8*np.pi #core size
obs.effnpix = S/3.0 #3 is an approx. increment factor of PSF
and then you can compute noises like that.
print("photon/pix/frame=",obs.nphoton_frame)
print("shot noise (sigma) in total [ppm]=",obs.sign_relative*1.e-6)
print("dark in total [ppm]=",obs.sigd_relative*1.e-6)
print("readout in total [ppm]=",obs.sigr_relative*1.e-6)
Metadata
Release files for exocounts 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exocounts-0.1.0-py3.8.egg | Legacy Egg format | - | - | Details for exocounts-0.1.0-py3.8.egg |
| exocounts-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for exocounts-0.1.0-py2.py3-none-any.whl |
Total release size: 47.3 kB
Release files / exocounts-0.1.0-py3.8.egg
| Download URL | exocounts-0.1.0-py3.8.egg |
|---|---|
| Size | 33.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
2b6c5518cd1120406efb9c077eb3c6d5e9841f7acf5c804102e69f98297cab00
|
|
BLAKE2b-256 checksum How to use checksums |
2343280c3daa9efc7506fdacbb1ef6b313f1008791473018947520518248f0b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Release files / exocounts-0.1.0-py2.py3-none-any.whl
| Download URL | exocounts-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e5b891c4628cecc104403b5582a2540145f4e09e33b0da2ad517304d54f16089
|
|
BLAKE2b-256 checksum How to use checksums |
fa1c48eacaf5bf7096e811623988a646491c847d8378e1bb5e529f43324fd1c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
|
Security for exocounts 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.