Skip to content

Commit

Permalink
Merge pull request #17 from boada/Kbandfix
Browse files Browse the repository at this point in the history
fixed column mismatch in kband
  • Loading branch information
mommermi committed Mar 14, 2017
2 parents 8038b10 + 498e9b7 commit df76076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pp_calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def create_photometrycatalog(ra_deg, dec_deg, rad_deg, filtername,
('APASS' in catalogname and
filtername not in {'B', 'V', 'g', 'r', 'i'}) or
('2MASS' in catalogname and
filtername not in {'J', 'H', 'Ks'}) ):
filtername not in {'J', 'H', 'K'}) ):
n_transformed = cat.transform_filters(filtername) - \
cat.reject_sources_with(\
cat['_e_'+filtername+'mag'] > mag_accuracy)
Expand Down

0 comments on commit df76076

Please sign in to comment.