From 46fe70fd0ea01470bd6e0032d48f41372a434d87 Mon Sep 17 00:00:00 2001 From: Andy Casey Date: Tue, 10 Oct 2023 19:50:12 -0600 Subject: [PATCH] minor notebook --- notebooks/20231011_sdss5_targeting.ipynb | 826 +++++++++++------------ 1 file changed, 413 insertions(+), 413 deletions(-) diff --git a/notebooks/20231011_sdss5_targeting.ipynb b/notebooks/20231011_sdss5_targeting.ipynb index e3d36f2..af3289f 100644 --- a/notebooks/20231011_sdss5_targeting.ipynb +++ b/notebooks/20231011_sdss5_targeting.ipynb @@ -15,9 +15,9 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "You will need the `sdss_semaphore` package to easily interpret the SDSS flags. You can install it with:\n", + "You will need the `sdss_semaphore` package (version ``0.2.0``) to easily interpret the SDSS flags. You can install it with:\n", "\n", - "```pip install sdss_semaphore```\n" + "```pip install sdss-semaphore==0.2.0```\n" ] }, { @@ -31,9 +31,9 @@ "from astropy.io import fits\n", "from sdss_semaphore.targeting import TargetingFlags\n", "\n", - "# Let's load the Astra allStar file.\n", + "# Let's load the Astra allVisits file.\n", "# At the time of writing (2023-10-11) this contains targeting flags for BOSS spectra (v6_1_1) and APOGEE DR17 (no APOGEE SDSS-V).\n", - "allStar = fits.open(os.path.expandvars(\"$MWM_ASTRA/0.4.4/summary/mwmAllStar-0.4.4.fits\"))" + "image = fits.open(os.path.expandvars(\"$MWM_ASTRA/0.4.4/summary/mwmAllVisit-0.4.4.fits\"))" ] }, { @@ -52,7 +52,7 @@ " METADATA \n", " \n", "V_ASTRA = '0.4.4 ' / Astra version \n", - "CREATED = '23-10-06 10:28:04' / File creation time (UTC %y-%m-%d %H:%M:%S) \n", + "CREATED = '23-10-06 10:40:16' / File creation time (UTC %y-%m-%d %H:%M:%S) \n", " \n", " HDU DESCRIPTIONS \n", " \n", @@ -70,7 +70,7 @@ ], "source": [ "# Let's look at the header information.\n", - "allStar[0].header" + "image[0].header" ] }, { @@ -80,7 +80,7 @@ "outputs": [], "source": [ "# Let's play with flags for spectra observed by BOSS.\n", - "flags = TargetingFlags(allStar[1].data[\"SDSS5_TARGET_FLAGS\"])" + "flags = TargetingFlags(image[1].data[\"SDSS5_TARGET_FLAGS\"])" ] }, { @@ -545,7 +545,7 @@ }, { "cell_type": "code", - "execution_count": 14, + "execution_count": 7, "metadata": {}, "outputs": [ { @@ -553,477 +553,477 @@ "output_type": "stream", "text": [ "Mappers:\n", + "\tmwm\n", + "\topen\n", "\tops\n", "\tbhm\n", - "\topen\n", - "\tmwm\n", "Programs\n", - "\tbhm_csc\n", - "\tmwm_yso\n", - "\tmwm_dust\n", - "\tbhm_rm\n", - "\tmwm_tess_ob\n", - "\tbhm_aqmes\n", - "\tmwm_wd\n", - "\topen_fiber\n", + "\tSKY\n", "\tmwm_erosita\n", - "\tmwm_bin\n", - "\tops_sky\n", - "\tcommissioning\n", - "\tmwm_validation\n", - "\tops_std\n", - "\tmwm_galactic\n", - "\tmwm_cb\n", - "\tmwm_tessrgb\n", + "\topen_fiber\n", + "\tmwm_legacy\n", + "\tmwm_yso\n", "\tmwm_tessob\n", - "\tmwm_planet\n", + "\tmwm_halo\n", "\tbhm_filler\n", - "\tmwm_ob\n", - "\tmwm_filler\n", "\tmwm_monitor\n", - "\tSKY\n", - "\tmwm_magcloud\n", - "\tmwm_legacy\n", - "\tbhm_spiders\n", "\tmwm_snc\n", + "\tops_std\n", + "\tmwm_bin\n", + "\tcommissioning\n", + "\tbhm_csc\n", + "\tmwm_filler\n", + "\tmwm_galactic\n", + "\tbhm_rm\n", + "\tmwm_dust\n", + "\tops_sky\n", + "\tmwm_magcloud\n", "\tmwm_gg\n", - "\tmwm_halo\n", + "\tbhm_spiders\n", "\tmwm_rv\n", + "\tmwm_wd\n", + "\tmwm_ob\n", + "\tmwm_tessrgb\n", + "\tbhm_aqmes\n", + "\tmwm_planet\n", + "\tmwm_tess_ob\n", + "\tmwm_validation\n", + "\tmwm_cb\n", "Cartons names\n", - "\tmwm_galactic_core_dist_apogee\n", - "\tbhm_csc_boss_dark\n", - "\tmwm_ob_core\n", - "\tops_std_apogee\n", - "\tmwm_snc_100pc\n", - "\tmwm_cb_gaiagalex_boss\n", + "\tbhm_spiders_agn_gaiadr2\n", + "\tmwm_snc_250pc_apogee\n", + "\tmwm_bin_gaia_sb_boss\n", + "\tmanual_offset_mwmhalo_off05\n", + "\topenfibertargets_nov2020_47d\n", + "\tops_std_boss_tic\n", "\topenfibertargets_nov2020_47e\n", - "\tmanual_mwm_halo_distant_kgiant_far_boss_single\n", + "\tmwm_halo_bb_boss\n", + "\tbhm_spiders_agn-efeds\n", + "\tmwm_erosita_stars\n", + "\tmanual_bhm_spiders_comm\n", "\tmwm_erosita_stars_boss\n", - "\tmwm_halo_mp_xp_boss\n", - "\tmanual_bright_targets_g13_offset_fixed_7\n", + "\tmwm_gg_core\n", + "\topenfibertargets_nov2020_32\n", + "\topenfibertargets_nov2020_31\n", + "\tmwm_halo_local_high_apogee\n", + "\tmwm_yso_cluster_apogee\n", + "\tmwm_legacy_ir2opt\n", + "\tops_sky_apogee\n", + "\tmwm_yso_cmz_apogee\n", + "\tmwm_tess_planet\n", + "\tmwm_cb_gaiagalex_boss\n", + "\tmwm_yso_nebula_apogee\n", + "\tmwm_snc_100pc_apogee\n", + "\topenfibertargets_nov2020_24\n", + "\tbhm_spiders_agn_sep\n", + "\tmwm_rv_long-bplates\n", "\tops_std_boss_ps1dr2\n", - "\tmwm_yso_variable_boss_single\n", - "\tmanual_mwm_planet_transiting_bd_apogee\n", - "\topenfibertargets_nov2020_22\n", - "\tops_std_boss_lsdr8\n", - "\tmwm_rv_short-rm\n", + "\tmwm_snc_250pc\n", + "\tbhm_csc_boss\n", + "\tmwm_snc_100pc\n", + "\tops_sky_boss_good\n", "\tmwm_yso_pms_boss_zari18pms_single\n", - "\tmanual_mwm_halo_vmp_wise_boss_single\n", - "\tmanual_mwm_halo_distant_kgiant_near_boss\n", - "\tmanual_mwm_halo_distant_bhb_boss\n", - "\tmwm_snc_250pc_apogee\n", - "\topenfibertargets_nov2020_32\n", - "\tmwm_yso_s2\n", - "\tops_std_boss_tic\n", - "\topenfibertargets_nov2020_19c\n", - "\tmwm_galactic_core\n", - "\tmanual_bright_targets_g13_offset_fixed_1\n", + "\tops_std_eboss\n", + "\tmwm_ob_core_boss\n", + "\tbhm_rm_xrayqso\n", + "\tmwm_halo_local_low_boss_single\n", + "\tmanual_mwm_halo_mp_bbb\n", + "\tbhm_spiders_clusters_ps1dr2\n", + "\tmwm_halo_mp_xp_boss_single\n", + "\topenfibertargets_nov2020_5\n", + "\topenfibertargets_nov2020_1001a\n", + "\tbhm_aqmes_wide2-faint\n", + "\topenfibertargets_nov2020_15\n", + "\tmwm_yso_pms_boss_sagitta_edr3\n", + "\tmwm_monitor_n188_apogee_long\n", + "\topenfibertargets_nov2020_35b\n", + "\tmwm_erosita_compact_boss\n", + "\tmwm_yso_embedded_apogee\n", "\tbhm_aqmes_wide2\n", - "\tbhm_colr_galaxies_lsdr10\n", - "\tbhm_aqmes_wide3\n", - "\tmwm_cb_uvex3\n", - "\tmwm_dust_core_dist_apogee\n", - "\topenfibertargets_nov2020_3\n", - "\tmwm_bin_gaia_astb_apogee\n", - "\tmanual_offset_mwmhalo_offa\n", - "\tbhm_aqmes_med_faint\n", + "\tmanual_offset_mwmhalo_off10\n", + "\tmwm_cb_300pc_boss\n", "\tbhm_rm_known-spec\n", - "\tmanual_mwm_nsbh_boss\n", - "\topenfibertargets_nov2020_29\n", - "\tbhm_rm_var\n", - "\tmwm_yso_cluster_boss_single\n", - "\tmwm_planet_tess\n", - "\tmwm_wd_core\n", - "\tmwm_legacy_ir2opt_boss\n", - "\tmwm_halo_sm\n", - "\tmanual_mwm_halo_distant_bhb_boss_single\n", - "\tmanual_bright_targets_g13_offset_fixed_3\n", - "\topenfibertargets_nov2020_11\n", - "\tmwm_rv_long-bplates\n", - "\tmanual_offset_mwmhalo_off30\n", - "\tmwm_cb_cvcandidates\n", - "\tmwm_monitor_m67_apogee_short\n", - "\tmwm_cb_uvex4\n", - "\tbhm_rm_xrayqso\n", - "\tmwm_halo_local_low_apogee\n", - "\tbhm_spiders_clusters-efeds-sdss-redmapper\n", - "\tmwm_bin_rv_short_mdwarf_apogee_12epoch\n", - "\tbhm_spiders_agn_efeds_stragglers\n", - "\tmwm_rv_long-fps\n", - "\tops_sky_boss_best\n", + "\tbhm_spiders_clusters_lsdr8\n", + "\tmwm_yso_cmz_apogee_single\n", + "\tmanual_mwm_magcloud_massive_boss\n", + "\tmanual_mwm_nsbh_apogee\n", + "\tmwm_halo_mp_xp_boss\n", + "\topenfibertargets_nov2020_8\n", + "\tmwm_astar_core_boss\n", + "\tmwm_yso_pms_apogee_zari18pms\n", "\topenfibertargets_nov2020_34a\n", + "\tops_sky_boss_best\n", + "\tbhm_csc_apogee\n", + "\tmwm_cb_xmmom_boss\n", + "\tbhm_csc_boss_dark\n", + "\tmwm_dust_core_dist_apogee\n", + "\tmanual_fps_position_stars_lco_apogee_10\n", + "\tmwm_tessrgb_core\n", "\tmwm_dust_core\n", - "\tmwm_yso_disk_boss_single\n", - "\tmwm_yso_pms_apogee_sagitta_edr3_single\n", - "\tbhm_aqmes_wide3-faint\n", - "\tmanual_mwm_halo_distant_kgiant_far_boss\n", + "\tmwm_halo_nmp_xp_boss_single\n", + "\tbhm_spiders_clusters-efeds-ls-redmapper\n", + "\tmanual_bright_target_offsets_1_g13\n", + "\tmwm_cb_galex_vol_boss\n", "\tmwm_cb_uvex5\n", - "\tmanual_fps_position_stars_lco_apogee_10\n", - "\tmwm_halo_local_high_boss_single\n", - "\tmwm_cb_gaiagalex\n", - "\tmanual_offset_mwmhalo_off10\n", - "\tbhm_aqmes_bonus_bright\n", - "\topenfibertargets_nov2020_6a\n", - "\tbhm_colr_galaxies_lsdr8\n", - "\topenfibertargets_nov2020_34b\n", - "\tmwm_yso_cmz_apogee\n", - "\tmwm_astar_core_boss_single\n", - "\tmanual_offset_mwmhalo_offb\n", - "\tmwm_bin_gaia_astb_boss\n", - "\tmwm_wd_pwd_boss\n", - "\tmwm_cb_xmmom_boss\n", - "\topenfibertargets_nov2020_17\n", - "\tmanual_mwm_tess_ob\n", - "\tmwm_yso_s1\n", - "\tmwm_yso_ob_apogee\n", - "\tmanual_fps_position_stars\n", - "\tmwm_rv_long-rm\n", - "\tmwm_yso_cluster_apogee\n", + "\tmwm_magcloud_agb_apogee\n", + "\topenfibertargets_nov2020_28b\n", + "\tmwm_cb_cvcandidates_boss\n", + "\tmwm_rv_short-rm\n", + "\tmwm_yso_s2-5\n", "\tmwm_yso_pms_boss_sagitta_edr3_single\n", - "\tmanual_mwm_halo_mp_wise_apogee_single\n", - "\tmanual_mwm_planet_harps_apogee\n", - "\tmwm_yso_s3\n", - "\tmwm_cb_300pc\n", - "\tmwm_tess_planet\n", - "\topenfibertargets_nov2020_28a\n", - "\tmanual_mwm_halo_mp_wise_boss\n", - "\tmwm_wd_gaia_boss\n", - "\tops_std_eboss\n", - "\tmwm_halo_mp_xp_boss_single\n", - "\tbhm_spiders_agn_ps1dr2\n", - "\tbhm_csc_apogee\n", - "\tmanual_bright_targets_g13\n", - "\tbhm_aqmes_bonus-dark\n", - "\tmwm_magcloud_rgb_boss\n", - "\tmwm_halo_nmp_xp_boss_single\n", - "\tmwm_bin_gaia_sb_apogee\n", - "\topenfibertargets_nov2020_1001b\n", - "\tmwm_erosita_compact_var\n", - "\tmwm_bin_rv_short_mdwarf_apogee_18epoch\n", - "\tmwm_snc_ext_main_boss\n", - "\tmwm_bin_rv_short_mdwarf_apogee_08epoch\n", - "\tmwm_yso_embedded_apogee_single\n", - "\topenfibertargets_nov2020_10\n", - "\tops_sky_apogee\n", - "\tmwm_yso_nebula_apogee\n", - "\tmwm_halo_vmp_xp_boss_single\n", - "\tmwm_monitor_m15_apogee_short\n", - "\tmwm_yso_pms_boss\n", - "\tops_apogee_stds\n", - "\tbhm_aqmes_wide2_faint\n", - "\topenfibertargets_nov2020_47d\n", - "\tmwm_tess_ob\n", - "\tmanual_offset_mwmhalo_off05\n", - "\tmwm_halo_local_high_boss\n", + "\tmanual_mwm_halo_vmp_wise_boss\n", "\tmwm_monitor_n188_apogee_short\n", - "\tmwm_yso_ob_boss\n", - "\topenfibertargets_nov2020_19a\n", - "\tbhm_csc_boss\n", - "\tmwm_ob_core_boss\n", - "\tmanual_mwm_planet_sphere_apogee\n", - "\topenfibertargets_nov2020_1000\n", - "\tmwm_yso_pms_boss_sagitta_edr3\n", - "\tmwm_halo_nmp_xp_boss\n", - "\tops_sky_boss_fallback\n", - "\tbhm_spiders_clusters-efeds-hsc-redmapper\n", - "\tbhm_spiders_clusters_lsdr8\n", - "\tmwm_bin_gaia_sb_boss\n", - "\tbhm_csc_boss-dark\n", - "\tmwm_snc_100pc_boss\n", - "\tmwm_halo_nmp_xp_apogee_single\n", - "\tmwm_yso_variable_boss\n", - "\tbhm_aqmes_bonus_faint\n", - "\tmwm_bin_rv_short_rgb_apogee\n", - "\tmwm_halo_local_low_boss\n", - "\tmanual_mwm_planet_tess_eb_apogee\n", - "\topenfibertargets_nov2020_31\n", + "\tmanual_nsbh_boss\n", + "\tbhm_rm_core\n", "\tmwm_monitor_m67_apogee_long\n", - "\topenfibertargets_nov2020_28c\n", - "\topenfibertargets_nov2020_5\n", - "\tmwm_erosita_compact_gen\n", - "\topenfibertargets_nov2020_28b\n", - "\topenfibertargets_nov2020_12\n", - "\tbhm_csc_boss-bright\n", - "\tmanual_bright_target_offsets_1_g13\n", - "\tbhm_spiders_agn_gaiadr2\n", - "\tbhm_aqmes_med\n", - "\tmanual_mwm_halo_distant_kgiant_near_boss_single\n", - "\tbhm_aqmes_med-faint\n", - "\tbhm_spiders_agn_lsdr10\n", - "\tbhm_spiders_agn_gaiadr3\n", - "\tmwm_yso_cluster_boss\n", - "\tmwm_rv_long_bplates\n", - "\tmanual_bright_target_offsets_1\n", - "\tbhm_spiders_agn_tda\n", - "\tmwm_monitor_m15_apogee_long\n", - "\tmwm_cb_gaiagalex_apogee\n", - "\tbhm_rm_ancillary\n", - "\tmwm_bin_vis_boss\n", - "\tops_std_boss_red\n", - "\tops_std_boss_lsdr10\n", - "\tmanual_mwm_planet_known_apogee\n", - "\tmwm_halo_distant_rrl_boss_single\n", - "\tmanual_mwm_halo_distant_kgiant\n", + "\tmanual_mwm_halo_distant_kgiant_far_boss\n", + "\tmwm_snc_ext_main_boss\n", "\tmanual_mwm_magcloud_massive_apogee\n", - "\tmwm_halo_vmp_xp_apogee\n", - "\tmwm_yso_embedded_apogee\n", - "\tmwm_magcloud_agb_apogee\n", - "\tmwm_halo_sm_boss\n", - "\tmwm_snc_ext_filler_boss\n", - "\tmanual_mwm_halo_vmp_wise_boss\n", - "\topenfibertargets_nov2020_9\n", - "\tmwm_snc_ext_main_apogee\n", - "\tmwm_cb_swiftuvot_boss\n", - "\tmanual_nsbh_apogee\n", - "\tmwm_cb_uvex1\n", - "\topenfibertargets_nov2020_27\n", - "\tbhm_spiders_agn_sep\n", - "\tmanual_mwm_planet_tess_pc_apogee\n", - "\tmwm_halo_vmp_xp_boss\n", + "\tmanual_mwm_halo_mp_wise_boss\n", "\tmwm_tess_2min_apogee\n", - "\topenfibertargets_nov2020_15\n", - "\tmanual_mwm_validation_hot_boss\n", - "\tmwm_ob_core_boss_single\n", - "\tmwm_halo_bb_boss\n", "\tmwm_yso_ob\n", + "\tmanual_bhm_spiders_comm_lco\n", + "\tops_std_apogee\n", + "\tmwm_yso_disk_boss\n", + "\tbhm_colr_galaxies_lsdr10\n", + "\topenfibertargets_nov2020_26\n", "\tmanual_mwm_planet_ca_legacy_apogee\n", - "\tmwm_bin_rv_long_apogee\n", - "\tmwm_yso_pms_apogee_zari18pms_single\n", - "\tbhm_spiders_clusters_lsdr10\n", - "\tmwm_halo_mp_xp_apogee_single\n", - "\tmwm_ob_cepheids_boss\n", - "\tmanual_fps_position_stars_apogee_10\n", - "\tmanual_nsbh_boss\n", - "\tmanual_mwm_magcloud_massive_boss\n", - "\topenfibertargets_nov2020_1001a\n", - "\tmanual_fps_position_stars_10\n", - "\tbhm_spiders_agn_hard\n", - "\tmanual_mwm_planet_sophie_apogee\n", - "\tmanual_offset_mwmhalo_off20\n", - "\topenfibertargets_nov2020_30\n", - "\tmwm_legacy_ir2opt\n", - "\topenfibertargets_nov2020_35c\n", - "\tmwm_yso_cluster_apogee_single\n", - "\tmwm_yso_nebula_apogee_single\n", - "\tmanual_mwm_halo_mp_wise_boss_single\n", - "\topenfibertargets_nov2020_47a\n", - "\tbhm_spiders_clusters-efeds-ls-redmapper\n", + "\tmanual_mwm_planet_known_apogee\n", + "\tops_std_boss_lsdr10\n", + "\tmwm_yso_pms_apogee_sagitta_edr3_single\n", + "\tmwm_yso_pms_apogee_sagitta_edr3\n", "\tmwm_cb_galex_mag_boss\n", - "\tbhm_spiders_agn_skymapperdr2\n", - "\topenfibertargets_nov2020_35a\n", - "\tmwm_halo_bb\n", - "\tmanual_bhm_spiders_comm\n", - "\tmwm_cb_cvcandidates_apogee\n", - "\tmwm_bin_vis_apogee\n", - "\tbhm_csc_boss_bright\n", + "\tmanual_mwm_halo_distant_kgiant_near_boss_single\n", + "\tmanual_mwm_validation_rv_apogee\n", + "\tops_std_boss_gdr2\n", + "\tbhm_spiders_clusters-efeds-erosita\n", + "\tmanual_bright_targets_g13_offset_fixed_1\n", + "\tbhm_aqmes_med\n", + "\topenfibertargets_nov2020_18\n", + "\tmanual_fps_position_stars\n", + "\tmwm_halo_distant_rrl_boss_single\n", + "\topenfibertargets_nov2020_19b\n", "\tmwm_tess_rgb_apogee\n", + "\tbhm_spiders_agn_skymapperdr2\n", + "\tmwm_halo_mp_xp_apogee_single\n", + "\tmwm_cb_uvex1\n", + "\tmwm_yso_pms_apogee\n", + "\tmanual_mwm_validation_hot_apogee\n", + "\tmwm_snc_ext_main_apogee\n", + "\tmwm_snc_ext_filler_boss\n", + "\tmanual_mwm_halo_distant_kgiant_near_boss\n", + "\tmanual_nsbh_apogee\n", "\tmwm_rv_short-bplates\n", - "\tmwm_monitor_n188_apogee_long\n", - "\tmwm_yso_pms_boss_zari18pms\n", - "\tmwm_astar_core_boss\n", - "\tbhm_spiders_agn_lsdr8\n", - "\tbhm_spiders_agn_supercosmos\n", - "\tmwm_snc_100pc_apogee\n", - "\tmwm_yso_pms_apogee_zari18pms\n", - "\topenfibertargets_nov2020_18\n", - "\tmanual_mwm_validation_cool_boss\n", - "\tmwm_yso_cmz\n", + "\topenfibertargets_nov2020_9\n", + "\tmanual_mwm_halo_distant_kgiant\n", + "\tbhm_spiders_agn_tda\n", + "\tmwm_halo_local_low_apogee\n", + "\tmanual_bright_targets_g13_offset_fixed_7\n", + "\tmwm_yso_variable_boss_single\n", + "\tbhm_rm_ancillary\n", + "\tmwm_yso_cluster\n", + "\tmwm_erosita_compact_var\n", + "\topenfibertargets_nov2020_17\n", + "\tmwm_yso_s1\n", + "\tmwm_rv_short_fps\n", + "\tmanual_mwm_planet_harps_apogee\n", + "\tmanual_offset_mwmhalo_off30\n", + "\tmwm_yso_embedded_apogee_single\n", + "\tmwm_halo_local_low_boss\n", + "\tmanual_mwm_nsbh_boss\n", "\tmanual_mwm_planet_gpi_apogee\n", - "\topenfibertargets_nov2020_6b\n", - "\topenfibertargets_nov2020_46\n", + "\tmanual_offset_mwmhalo_offa\n", + "\tops_std_boss_lsdr8\n", + "\tmwm_yso_disk_boss_single\n", + "\topenfibertargets_nov2020_22\n", + "\tmwm_astar_core_boss_single\n", + "\topenfibertargets_nov2020_47c\n", + "\tmanual_mwm_validation_hot_boss\n", + "\tmanual_bright_target_offsets_3\n", + "\tmwm_bin_rv_short_rgb_apogee\n", + "\tmanual_mwm_planet_tess_eb_apogee\n", + "\tops_sky_apogee_good\n", + "\tops_apogee_stds\n", + "\tmwm_bin_gaia_sb_apogee\n", + "\tbhm_aqmes_wide3\n", + "\tmanual_mwm_tess_ob_apogee\n", + "\tmanual_fps_position_stars_apogee_10\n", + "\tbhm_aqmes_wide2_faint\n", + "\topenfibertargets_nov2020_19c\n", + "\tbhm_aqmes_bonus-dark\n", + "\tmwm_yso_disk_apogee_single\n", "\topenfibertargets_nov2020_6c\n", - "\tmwm_rv_short-fps\n", - "\tops_std_boss-red\n", - "\topenfibertargets_nov2020_35b\n", - "\tmwm_gg_core\n", - "\tmwm_halo_local_low_boss_single\n", - "\tops_sky_boss_good\n", - "\tmanual_mwm_halo_mp_wise_apogee\n", - "\tmwm_halo_local_high_apogee\n", - "\tmwm_yso_pms_apogee_sagitta_edr3\n", - "\topenfibertargets_nov2020_8\n", - "\tmwm_yso_pms_apogee\n", - "\tbhm_spiders_clusters_efeds_stragglers\n", - "\tbhm_spiders_agn-efeds\n", - "\tmanual_mwm_crosscalib_yso_boss\n", - "\tmanual_bright_targets_g13_offset_fixed_5\n", + "\tbhm_aqmes_bonus-bright\n", + "\topenfibertargets_nov2020_28a\n", + "\tmwm_wd_gaia_boss\n", + "\tmanual_offset_mwmhalo_offb\n", + "\tmwm_cb_swiftuvot_boss\n", + "\tmanual_mwm_planet_gaia_astrometry_apogee\n", + "\tmwm_rv_long-rm\n", + "\tmanual_bright_target_offsets_1\n", + "\tmwm_halo_sm_boss\n", + "\tmwm_bin_rv_long_apogee\n", + "\tmwm_snc_250pc_boss\n", + "\tmwm_yso_pms_boss\n", + "\tbhm_rm_var\n", + "\tbhm_csc_boss_bright\n", + "\topenfibertargets_nov2020_3\n", + "\tmwm_halo_nmp_xp_apogee\n", + "\tmwm_halo_vmp_xp_boss\n", + "\tmwm_cb_300pc_apogee\n", "\tmwm_halo_local_low_apogee_single\n", - "\topenfibertargets_nov2020_26\n", - "\tmwm_rv_short_fps\n", - "\tmwm_yso_cluster\n", - "\tmwm_rv_long_fps\n", - "\topenfibertargets_nov2020_24\n", + "\tbhm_gua_dark\n", + "\topenfibertargets_nov2020_29\n", + "\tmwm_yso_pms_apogee_zari18pms_single\n", + "\tmwm_ob_cepheids_boss\n", "\topenfibertargets_nov2020_47b\n", - "\tmwm_yso_cmz_apogee_single\n", - "\tmwm_snc_250pc\n", + "\tbhm_colr_galaxies_lsdr8\n", + "\tmwm_galactic_core\n", + "\tmwm_cb_uvex3\n", + "\tmwm_yso_s3\n", + "\topenfibertargets_nov2020_6a\n", + "\tmwm_halo_distant_rrl_boss\n", + "\tmwm_halo_bb\n", + "\tmwm_bin_vis_apogee\n", + "\topenfibertargets_nov2020_47a\n", "\tops_sky_boss\n", - "\tmanual_mwm_magcloud_symbiotic_apogee\n", - "\tmwm_erosita_compact_boss\n", - "\tmwm_halo_mp_xp_apogee\n", - "\tmwm_yso_s2-5\n", - "\tmanual_mwm_nsbh_apogee\n", - "\topenfibertargets_nov2020_47c\n", + "\tbhm_aqmes_bonus_bright\n", + "\tmwm_cb_gaiagalex\n", + "\tmwm_halo_vmp_xp_boss_single\n", + "\tmanual_mwm_halo_mp_wise_boss_single\n", + "\topenfibertargets_nov2020_46\n", + "\tmwm_cb_300pc\n", + "\tops_sky_apogee_best\n", + "\tmwm_ob_core_boss_single\n", + "\tmwm_rv_long_bplates\n", "\tmwm_snc_ext_filler_apogee\n", - "\tmwm_ob_cepheids\n", - "\tmanual_mwm_halo_vmp_wise_apogee_single\n", - "\topenfibertargets_nov2020_25\n", - "\tmwm_cb_300pc_apogee\n", - "\tmwm_snc_250pc_boss\n", - "\tbhm_spiders_clusters-efeds-erosita\n", - "\tmwm_cb_galex_vol_boss\n", - "\tbhm_aqmes_bonus-bright\n", - "\tmwm_yso_variable_apogee_single\n", - "\tmwm_halo_distant_rrl_boss\n", + "\topenfibertargets_nov2020_1001b\n", + "\tbhm_spiders_clusters_lsdr10\n", + "\tmwm_yso_s2\n", + "\tmanual_mwm_validation_cool_apogee\n", "\tmwm_halo_vmp_xp_apogee_single\n", - "\tmanual_mwm_validation_hot_apogee\n", + "\tbhm_csc_boss-bright\n", + "\topenfibertargets_nov2020_34b\n", + "\topenfibertargets_nov2020_14\n", + "\tmwm_yso_cluster_boss_single\n", + "\tmanual_mwm_halo_mp_wise_apogee\n", "\tmwm_yso_disk_apogee\n", - "\tmanual_bhm_spiders_comm_lco\n", - "\topenfibertargets_nov2020_19b\n", - "\tops_sky_apogee_best\n", - "\tmwm_yso_variable_apogee\n", - "\tmwm_yso_disk_apogee_single\n", - "\tbhm_rm_core\n", - "\tmwm_cb_300pc_boss\n", - "\tmwm_bin_rv_short_subgiant_apogee\n", - "\tbhm_aqmes_wide2-faint\n", - "\tmanual_mwm_validation_cool_apogee\n", - "\tops_std_boss_gdr2\n", - "\tops_std_boss\n", - "\tbhm_rm_known_spec\n", - "\tmanual_mwm_planet_gaia_astrometry_apogee\n", - "\tmanual_mwm_tess_ob_apogee\n", - "\tmwm_cb_uvex2\n", - "\tmwm_erosita_stars\n", - "\tbhm_gua_bright\n", - "\tmwm_cb_cvcandidates_boss\n", + "\tmwm_yso_ob_boss\n", + "\topenfibertargets_nov2020_10\n", + "\tbhm_spiders_clusters-efeds-hsc-redmapper\n", + "\tbhm_spiders_agn_lsdr10\n", + "\topenfibertargets_nov2020_28c\n", + "\tmwm_bin_gaia_astb_boss\n", + "\tmwm_cb_cvcandidates\n", + "\tmanual_fps_position_stars_10\n", + "\tops_sky_boss_fallback\n", + "\tmwm_halo_local_high_boss_single\n", + "\tmwm_rv_long-fps\n", + "\tmwm_halo_nmp_xp_boss\n", + "\tmanual_mwm_planet_sphere_apogee\n", + "\tops_std_boss-red\n", + "\tmwm_yso_variable_boss\n", + "\tbhm_aqmes_med_faint\n", + "\tmanual_mwm_planet_tess_pc_apogee\n", + "\topenfibertargets_nov2020_27\n", + "\tmwm_magcloud_rgb_boss\n", + "\tbhm_spiders_agn_gaiadr3\n", + "\tmanual_mwm_planet_transiting_bd_apogee\n", + "\tmwm_cb_uvex4\n", + "\tmwm_yso_variable_apogee_single\n", + "\tmwm_halo_vmp_xp_apogee\n", + "\tmanual_mwm_halo_distant_kgiant_far_boss_single\n", + "\tmwm_bin_rv_short_mdwarf_apogee_18epoch\n", + "\tmanual_mwm_planet_sophie_apogee\n", + "\topenfibertargets_nov2020_33\n", + "\topenfibertargets_nov2020_12\n", + "\tmwm_bin_gaia_astb_apogee\n", + "\tmwm_legacy_ir2opt_boss\n", + "\tmanual_mwm_halo_mp_wise_apogee_single\n", + "\tmwm_monitor_m15_apogee_long\n", + "\tmwm_yso_nebula_apogee_single\n", + "\topenfibertargets_nov2020_25\n", + "\tmwm_planet_tess\n", "\tbhm_aqmes_bonus_core\n", - "\tmanual_offset_mwmhalo_off00\n", + "\tmwm_yso_ob_apogee\n", + "\tmwm_ob_cepheids\n", + "\topenfibertargets_nov2020_35a\n", + "\tmanual_mwm_crosscalib_yso_boss\n", + "\tmwm_cb_uvex2\n", + "\tmwm_monitor_m67_apogee_short\n", + "\topenfibertargets_nov2020_11\n", + "\tmwm_wd_pwd_boss\n", + "\tmanual_mwm_halo_vmp_wise_apogee\n", + "\tmanual_mwm_validation_cool_boss\n", + "\tmwm_galactic_core_dist_apogee\n", + "\tmanual_mwm_halo_vmp_wise_apogee_single\n", + "\tbhm_aqmes_bonus_faint\n", + "\topenfibertargets_nov2020_35c\n", + "\topenfibertargets_nov2020_6b\n", + "\tbhm_aqmes_wide3-faint\n", + "\topenfibertargets_nov2020_19a\n", + "\tbhm_spiders_agn_efeds_stragglers\n", + "\tmwm_cb_cvcandidates_apogee\n", + "\tbhm_spiders_agn_ps1dr2\n", "\tmanual_mwm_crosscalib_yso_apogee\n", - "\tbhm_gua_dark\n", - "\topenfibertargets_nov2020_14\n", - "\tmwm_halo_nmp_xp_apogee\n", - "\tmanual_mwm_halo_mp_bbb\n", - "\tops_sky_apogee_good\n", - "\tmwm_erosita_compact_boss_shallow\n", + "\tmwm_halo_nmp_xp_apogee_single\n", + "\tbhm_spiders_agn_supercosmos\n", + "\tmwm_yso_pms_boss_zari18pms\n", "\tmanual_mwm_crosscalib_apogee\n", - "\tmanual_bright_target_offsets_3\n", - "\tmanual_mwm_validation_rv_apogee\n", - "\topenfibertargets_nov2020_33\n", - "\tbhm_spiders_clusters_ps1dr2\n", - "\tmwm_tessrgb_core\n", - "\tmwm_yso_disk_boss\n", + "\tmwm_bin_vis_boss\n", + "\tmwm_bin_rv_short_mdwarf_apogee_12epoch\n", + "\tmwm_monitor_m15_apogee_short\n", + "\tmanual_offset_mwmhalo_off00\n", + "\tmwm_snc_100pc_boss\n", + "\tmwm_erosita_compact_boss_shallow\n", + "\tbhm_spiders_clusters-efeds-sdss-redmapper\n", + "\tops_std_boss\n", + "\tmwm_yso_cluster_boss\n", + "\tbhm_spiders_agn_hard\n", + "\tmwm_yso_cmz\n", + "\topenfibertargets_nov2020_30\n", + "\tbhm_gua_bright\n", + "\tmwm_rv_long_fps\n", + "\tops_std_boss_red\n", + "\tmanual_offset_mwmhalo_off20\n", + "\tmwm_ob_core\n", + "\tbhm_spiders_clusters_efeds_stragglers\n", + "\tmwm_yso_cluster_apogee_single\n", + "\tmwm_erosita_compact_gen\n", + "\tmwm_halo_sm\n", + "\tmwm_wd_core\n", + "\tbhm_spiders_agn_lsdr8\n", + "\tmanual_mwm_halo_vmp_wise_boss_single\n", + "\tmwm_bin_rv_short_mdwarf_apogee_08epoch\n", + "\tmanual_bright_targets_g13\n", + "\tmanual_mwm_halo_distant_bhb_boss_single\n", + "\tmanual_bright_targets_g13_offset_fixed_3\n", + "\tmwm_rv_short-fps\n", + "\tmwm_yso_variable_apogee\n", + "\tmwm_cb_gaiagalex_apogee\n", + "\tmanual_bright_targets_g13_offset_fixed_5\n", + "\tmwm_bin_rv_short_subgiant_apogee\n", + "\topenfibertargets_nov2020_1000\n", "\tmwm_halo_local_high_apogee_single\n", - "\tmanual_mwm_halo_vmp_wise_apogee\n", + "\tmwm_halo_mp_xp_apogee\n", + "\tmanual_mwm_tess_ob\n", + "\tbhm_rm_known_spec\n", + "\tmanual_mwm_magcloud_symbiotic_apogee\n", + "\tbhm_csc_boss-dark\n", + "\tmanual_mwm_halo_distant_bhb_boss\n", + "\tmwm_halo_local_high_boss\n", + "\tmwm_tess_ob\n", + "\tbhm_aqmes_med-faint\n", "Alternative cartons names\n", - "\tmwm_validation_rv\n", - "\tmwm_ob_core\n", - "\tmwm_crosscalib_yso\n", - "\tmanual_mwm_planet_tess_eb\n", - "\tmwm_yso_variable\n", - "\tmanual_mwm_planet_transiting_bd\n", - "\tmwm_crosscalib\n", - "\tmwm_tess_2min\n", - "\tmwm_yso_disk\n", - "\tmwm_yso_cluster\n", - "\tops_sky\n", - "\tmanual_mwm_nsbh\n", - "\tmanual_mwm_halo_distant_kgiant\n", - "\tmanual_mwm_halo_mp_wise\n", - "\tmanual_mwm_planet_gaia_astrometry\n", - "\tmwm_bin_rv_short_mdwarf\n", - "\tmwm_yso_pms\n", + "\tmwm_dust_core\n", + "\tmanual_mwm_planet_sophie\n", + "\tmwm_bin_rv_short_rgb\n", "\tmwm_openfiber\n", - "\tbhm_spiders\n", - "\tmwm_snc\n", - "\tmwm_magcloud_massive\n", - "\tmwm_monitor_apogee_m15\n", - "\tmwm_bin_rv_short_subgiant\n", - "\tmwm_ob_cepheids\n", + "\tmanual_mwm_planet_tess_pc\n", + "\tmwm_monitor_apogee_m67\n", "\tmwm_bin_rv_short\n", - "\tmwm_bin_openfiber\n", - "\tmwm_bin_vis\n", - "\tmwm_monitor_apogee_n188\n", - "\tmwm_cb_300pc\n", - "\tmwm_snc_openfiber\n", - "\tmwm_bin_gaia_sb\n", - "\tbhm_rm\n", - "\tmwm_cb_xmmom\n", - "\tmanual_mwm_planet_sphere\n", - "\tmwm_galactic_core\n", - "\tmwm_yso_ob\n", - "\tmwm_magcloud_agb\n", + "\tops_std\n", + "\tmwm_validation_hot\n", + "\tmwm_ob_cepheids\n", "\tmwm_magcloud_symbiotic\n", - "\tbhm_openfiber\n", - "\tmwm_bin_gaia_astb\n", - "\tmwm_tess_rgb\n", - "\tmwm_validation_openfiber\n", - "\tmanual_mwm_planet_tess_pc\n", + "\tmwm_halo_local\n", "\tmanual_mwm_halo_distant_bhb\n", - "\tmwm_cluster_openfiber\n", - "\tmwm_tess_ob\n", + "\tmwm_magcloud_agb\n", + "\tmanual_mwm_planet_tess_eb\n", + "\tmwm_bin_rv_short_subgiant\n", + "\tmwm_erosita_stars\n", + "\tmwm_wd\n", + "\tbhm_aqmes\n", "\tmwm_yso_nebula\n", - "\tmwm_legacy_ir2opt\n", "\tmanual_mwm_planet_known\n", + "\tmwm_magcloud_massive\n", + "\tmwm_yso_ob\n", + "\tmwm_bin_vis\n", + "\tmwm_legacy_ir2opt\n", + "\tmwm_crosscalib_yso\n", + "\tmanual_mwm_planet_transiting_bd\n", + "\tmwm_halo_openfiber\n", + "\tmwm_snc\n", + "\tmwm_bin_gaia_sb\n", + "\tmwm_yso_embedded\n", + "\tmanual_mwm_nsbh\n", + "\tmanual_mwm_planet_gaia_astrometry\n", + "\tmwm_yso_disk\n", + "\tops_sky\n", + "\tmwm_yso_pms\n", + "\tmanual_offset_mwmhalo\n", + "\tmwm_erosita_compact\n", + "\tmwm_validation_openfiber\n", + "\tmwm_galactic_core\n", "\tmwm_cb_swiftuvot\n", - "\tmwm_halo_mp_xp\n", + "\tmwm_snc_openfiber\n", + "\tmwm_yso_cmz\n", "\tmwm_halo_bb\n", - "\tmwm_erosita_stars\n", + "\tmwm_crosscalib\n", + "\tmwm_yso_variable\n", + "\tmwm_monitor_apogee_m15\n", + "\tmwm_ob_core\n", + "\tmwm_tess_2min\n", "\tmwm_halo_sm\n", - "\tmanual_fps_position_stars_apogee\n", + "\tmwm_cb_300pc\n", + "\tmwm_tess_rgb\n", + "\tbhm_openfiber\n", + "\tmwm_bin_openfiber\n", + "\tbhm_spiders\n", + "\tmanual_mwm_halo_distant_kgiant\n", + "\tmwm_bin_rv_short_mdwarf\n", + "\tmwm_bin_gaia_astb\n", "\tmwm_validation_cool\n", - "\tbhm_filler\n", - "\tmwm_validation_hot\n", - "\tmwm_cb_cvcandidates\n", - "\tmwm_magcloud_rgb\n", - "\tmwm_yso_embedded\n", - "\tmwm_monitor_apogee_m67\n", - "\tmanual_mwm_planet_ca_legacy\n", "\tmwm_halo_distant_rrl\n", - "\tbhm_csc\n", - "\tmanual_mwm_planet_sophie\n", - "\tmanual_offset_mwmhalo\n", - "\tmwm_halo_local\n", - "\tbhm_aqmes\n", - "\tmanual_mwm_planet_harps\n", - "\tmwm_wd\n", - "\tmwm_dust_core\n", - "\tmwm_halo_openfiber\n", - "\tmwm_yso_cmz\n", - "\tops_std\n", - "\tmwm_cb_galex\n", - "\tmwm_erosita_compact\n", "\tmanual_mwm_planet_gpi\n", - "\tmwm_bin_rv_short_rgb\n", + "\tmwm_cb_galex\n", + "\tmanual_mwm_planet_ca_legacy\n", + "\tmwm_cb_cvcandidates\n", + "\tmanual_fps_position_stars_apogee\n", + "\tmwm_yso_cluster\n", + "\tmanual_mwm_planet_sphere\n", + "\tbhm_filler\n", "\tmwm_bin_rv_long\n", + "\tmwm_monitor_apogee_n188\n", + "\tmwm_halo_mp_xp\n", + "\tbhm_csc\n", + "\tbhm_rm\n", + "\tmwm_cb_xmmom\n", + "\tmwm_magcloud_rgb\n", + "\tmanual_mwm_halo_mp_wise\n", + "\tmwm_validation_rv\n", + "\tmanual_mwm_planet_harps\n", + "\tmwm_tess_ob\n", + "\tmwm_cluster_openfiber\n", "Alternative programs\n", - "\tstd\n", - "\tsky\n", - "\tvalidation\n", - "\trm\n", - "\tmonitor\n", + "\terosita\n", + "\tcsc\n", "\tob\n", + "\tsky\n", "\topen_fiber\n", - "\tgalactic\n", - "\tcsc\n", - "\tplanet\n", "\ttessob\n", - "\tlegacy\n", - "\tcommissioning\n", - "\tdust\n", - "\ttessrgb\n", "\tsnc\n", "\twd\n", - "\tfiller\n", - "\tbin\n", + "\tmonitor\n", + "\tstd\n", + "\tspiders\n", + "\tyso\n", + "\tdust\n", + "\tcommissioning\n", + "\ttessrgb\n", "\thalo\n", + "\tfiller\n", + "\trm\n", + "\taqmes\n", "\tmagcloud\n", - "\tyso\n", + "\tlegacy\n", "\tnsbh\n", + "\tvalidation\n", + "\tgalactic\n", "\ttess\n", - "\taqmes\n", "\tcb\n", - "\terosita\n", - "\tspiders\n" + "\tbin\n", + "\tplanet\n" ] } ], @@ -1085,7 +1085,7 @@ "outputs": [], "source": [ "# The `mwm_mask` is a N-length boolean array, where N is the number of targets in the allStar file.\n", - "assert len(mwm_mask) == len(allStar[1].data)" + "assert len(mwm_mask) == len(image[1].data)" ] }, {