Skip to content

rrgupta/astro-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

astro-tools

Some useful code for astro applications

For example:

  • redshift or de-redshift a spectrum given an initial and final redshift, assuming some cosmology
  • convert from AB magnitude to flux density and vice versa
  • get the redshift given the age of the universe and some cosmology
  • integrate a spectrum through a (sncosmo-registered) bandpass to obtain an AB magnitude

Also contains some basic statistical routines useful for data analysis

For example:

  • addition in quadrature
  • true root-mean-square (RMS), distinct from standard deviation
  • normalized median absolute deviation (NMAD)
  • Chauvenet's criterion for outlier rejection

Python

Requirements

The following Python packages are needed:

About

Some useful code for astro applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages