@@ -654,7 +654,7 @@ def test_guides_include_close():
654
654
# Force include the faint 4 stars that are also close together
655
655
include_ids = [21 , 22 , 23 , 24 ]
656
656
cat2 = get_guide_catalog (
657
- ** mod_std_info (n_guide = 5 ), stars = stars , include_ids_guide = include_ids
657
+ ** mod_std_info (n_guide = 5 ), stars = stars , include_ids_guide = include_ids ,
658
658
)
659
659
660
660
# Run the cluster checks and confirm all 3 fail
@@ -785,14 +785,15 @@ def test_guide_faint_mag_limit():
785
785
mag = [7.0 ] * 4 + [GUIDE .ref_faint_mag - 0.001 ], n_stars = 5 , id = ids
786
786
)
787
787
788
- # Select stars at 0.1 degC colder than reference temperature, expect 5 stars selected
788
+ # Select stars at 0.1 degC colder than reference temperature, use previous default of
789
+ # dyn_bgd_n_faint=0 for this test, expect 5 stars selected
789
790
guides = get_guide_catalog (
790
- ** mod_std_info (t_ccd = GUIDE .ref_faint_mag_t_ccd - 0.1 ), stars = stars , dark = DARK40
791
+ ** mod_std_info (t_ccd = GUIDE .ref_faint_mag_t_ccd - 0.1 , dyn_bgd_n_faint = 0 ), stars = stars , dark = DARK40
791
792
)
792
793
assert np .all (guides ["id" ] == ids )
793
794
794
795
# Select stars at 0.1 degC warmer than reference temperature, expect 4 stars selected
795
796
guides = get_guide_catalog (
796
- ** mod_std_info (t_ccd = GUIDE .ref_faint_mag_t_ccd + 0.1 ), stars = stars , dark = DARK40
797
+ ** mod_std_info (t_ccd = GUIDE .ref_faint_mag_t_ccd + 0.1 , dyn_bgd_n_faint = 0 ), stars = stars , dark = DARK40 ,
797
798
)
798
799
assert np .all (guides ["id" ] == [1 , 2 , 3 , 4 ])
0 commit comments