Skip to content.

ESSENCE

Sections
Personal tools
You are here: Home » Software » NN2

Implementation of the NN2 algorithm

Publically available Python and C code related to the NN2 algorithm presented in Barris et al. (2005, AJ, v130, n5).

We here provide a Python implementation of the NN2 method described in Barris et al. (2005, AJ, v130, n5) .

The file immediately below is a tarball with the "nn2.py" routine, a sample lightcurve file, and the corresponding sample output file.

Python implementation

Please see the README file included in the tarball for pointers on getting started with "nn2.py".

Below we also provide two C routines--"antivec.c" and "invert_c.c"--that implement the main aspects of the NN2 technique. These libraries are not needed for the Python version; they are merely included here for the convenience of the interested programmer. If there is sufficient demand, we may write a full version of our code in C.

antivec.c

invert_c.c

We welcome the inquiries of anyone who is interested in using the NN2 method and are happy to provide assistance with installation and usage upon request. Please contact Michael Wood-Vasey wmwood-vasey@cfa.harvard.edu with any questions, suggestions, or pleas for help.

Created by michaelwv
Last modified 2005-07-27 09:21 AM
« December 2008 »
Su Mo Tu We Th Fr Sa
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
 
 

Powered by Plone

This site conforms to the following standards: