======= PyNOMAD =======
PyNOMAD is used for accessing a locally hosted copy of The Naval Observatory Merged Astrometric Dataset (NOMAD). More information on NOMAD is available at: http://www.nofs.navy.mil/nomad/
Full copies of the NOMAD catalog are large: 92Gigs uncompressed or 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/ 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: python nomad_test.py
Originally written 2013-04-05 by Henry Roe (hroe@hroe.me)
Metadata
Release files for PyNOMAD 0.1.7.post1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| PyNOMAD-0.1.7.post1.tar.gz | 239.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| PyNOMAD-0.1.7.post1-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 261.7 kB
Release files / PyNOMAD-0.1.7.post1.tar.gz
| Download URL | PyNOMAD-0.1.7.post1.tar.gz |
|---|---|
| Size | 239.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20bf2ec22e0d28eaf919f5a112c4d8bfe61bcb10cc13ffc01f85342455abef1b
|
|
BLAKE2b-256 checksum How to use checksums |
179c617664b4192c7521cb69841d80392b3bc4fd7f012a59f815f6eb304ed4f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / PyNOMAD-0.1.7.post1-py2-none-any.whl
| Download URL | PyNOMAD-0.1.7.post1-py2-none-any.whl |
|---|---|
| Size | 21.8 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
88d49104f24818f9460b78281147d959760ec20ac905f440488a0de28f98fea2
|
|
BLAKE2b-256 checksum How to use checksums |
cbcdba492ca075ed9b47102077b647eb0581f53f50726695d3c949d9cebcb222
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |