Skip to content

Commit

Permalink
fixed PanSTARRS
Browse files Browse the repository at this point in the history
  • Loading branch information
mommermi committed Aug 15, 2019
1 parent 689a324 commit 93079e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def download_catalog(self, ra_deg, dec_deg, rad_deg,
self.data.rename_column('e_zmag', 'e_zp1mag')
self.data.rename_column('ymag', 'yp1mag')
self.data.rename_column('e_ymag', 'e_yp1mag')
self.data['mag'] = self.data['rmag'] # use rmag for astrometry
self.data['mag'] = self.data['rp1mag'] # use rmag for astrometry

# clip self.data to enforce magnitude error limits
self.data = self.data[self.data['e_rp1mag'] <= 0.03]
Expand Down

0 comments on commit 93079e0

Please sign in to comment.