We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62ef107 commit a6b51faCopy full SHA for a6b51fa
proseco/guide.py
@@ -148,7 +148,7 @@ def get_guide_candidates_mask(
148
& (mag > 5.2)
149
& (mag < faint_mag_limit)
150
& (mag_err < 1.0)
151
- & (stars["COLOR1"] != 0.7)
+ & (~np.isclose(stars["COLOR1"], 0.7))
152
& (stars["ASPQ1"] < 20) # Less than 1 arcsec offset from nearby spoiler
153
& (stars["ASPQ2"] == 0) # Unknown proper motion, or PM < 500 milli-arcsec/year
154
& (stars["POS_ERR"] < 1250) # Position error < 1.25 arcsec
0 commit comments