Skip to main content

No project description provided

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

exocounts-0.1.0-py3.8.egg (33.0 kB view details)

Uploaded Source

exocounts-0.1.0-py2.py3-none-any.whl (14.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file exocounts-0.1.0-py3.8.egg.

File metadata

  • Download URL: exocounts-0.1.0-py3.8.egg
  • Upload date:
  • Size: 33.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for exocounts-0.1.0-py3.8.egg
Algorithm Hash digest
SHA256 2b6c5518cd1120406efb9c077eb3c6d5e9841f7acf5c804102e69f98297cab00
MD5 d064f53bdeb18a6f02b3482bc9ce5309
BLAKE2b-256 2343280c3daa9efc7506fdacbb1ef6b313f1008791473018947520518248f0b7

See more details on using hashes here.

File details

Details for the file exocounts-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: exocounts-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for exocounts-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e5b891c4628cecc104403b5582a2540145f4e09e33b0da2ad517304d54f16089
MD5 b8b95ced9c8b39036b0c629ee9d93c95
BLAKE2b-256 fa1c48eacaf5bf7096e811623988a646491c847d8378e1bb5e529f43324fd1c0

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