This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| import numpy | |
| from astropy import units as u | |
| from astropy.coordinates import SkyCoord | |
| def deg_ra_hr(deg): | |
| hr = int((long(deg)*24)/360.) | |
| #Must add this if/then for proper formatting of numbers less than 10 | |
| #so that they are written as 08:xx:xx.x vs 8:xx:xx.x | |
| if hr < 10: |
NewerOlder