[AstroPy] Refractive index calculations (feedback request)

Prasanth oneaufs@gmail....
Fri Feb 3 04:22:00 CST 2012


Hello,

I have written a module in Python for calculating refractive index under
different environmental conditions, and for converting wavelength of light
between air and vacuum.  The code is based on the documentation for the  NIST
online refractive index of air
calculator<http://emtoolbox.nist.gov/Wavelength/Documentation.asp>
.

It would be great to know how this compares to existing tools used by
astronomers in their research level code. The function
"ref_index._test_idlastro()" includes some comparison with IDLASTRO vac2air
and air2vac procedures.

The module is available at http://pypi.python.org/pypi/ref_index. It has no
dependencies outside of standard Python libraries. It can be installed
using "pip install ref_index".

Documentation is available within the source code, and it can also be
displayed in interactive Python/iPython session by typing "help(ref_index)"
after importing ref_index. All functions also have documentation.

The development repository is at https://github.com/phn/ref_index .

Thanks
Prasanth
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/astropy/attachments/20120203/6c84f2cf/attachment.html 


More information about the AstroPy mailing list