Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pynomad

How to install PyNOMAD

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pynomad
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.1.0 Available View build log
 
Author
License
LICENSE.txt
Dependencies
Imports
Lastest release
version 0.1.0 on Jan 9th, 2014

PyNOMAD is used for accessing a locally hosted copy of The Naval Observatory Merged Astrometric Dataset (NOMAD). More information on NOMAD is available at:

System Message: ERROR/3 (<string>, line 8)

Unexpected indentation.
http://www.nofs.navy.mil/nomad/
Full copies of the NOMAD catalog are large:
92Gigs uncompressed
or

System Message: WARNING/2 (<string>, line 13)

Definition list ends without a blank line; unexpected unindent.

30Gigs when compressed with: gzip --best nomad/[0-9][0-9][0-9]/m*

The nomad.py module works with either uncompressed or compressed copies of the catalog.

A typical usage to fetch a region of the catalog is:

#!/usr/bin/env python

from nomad import fetch_nomad_box

ra_range = [281., 281.05] # RA is in degrees dec_range = [-30.6, -30.55] # Dec is in degrees stars = fetch_nomad_box(ra_range, dec_range, epoch=2000.0)

A typical usage to retrieve by NOMAD catalog ID is:

#!/usr/bin/env python

from nomad import fetch_star_by_nomad_id

star = fetch_star_by_nomad_id(['0594-0896798'], epoch=None)

stars = fetch_star_by_nomad_id(['0594-0896794', '0594-0896795',
'0594-0896796', '0594-0896798'], epoch=None)

Note that in all cases the returned object is a pandas.DataFrame.

Some catalog data files used for testing the code are included in:
test/data
These are grabbed directly from USNO's website serving the NOMAD database:
http://www.nofs.navy.mil/data/fchpix/

System Message: WARNING/2 (<string>, line 47)

Definition list ends without a blank line; unexpected unindent.

These can be used to perform one-time tests cross-checking that the nomad module is working correctly with the local copy of the catalog. These tests (and some other internal consistency checks) can be run by using the nomad_test.py module:

System Message: ERROR/3 (<string>, line 51)

Unexpected indentation.
python nomad_test.py

Originally written 2013-04-05 by Henry Roe (hroe@hroe.me)

Subscribe to package updates

Last updated Jan 9th, 2014

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.