diff --git a/app/host/SBI/run_sbi_blast.py b/app/host/SBI/run_sbi_blast.py index 17381330..c9523b05 100644 --- a/app/host/SBI/run_sbi_blast.py +++ b/app/host/SBI/run_sbi_blast.py @@ -40,10 +40,10 @@ } sbi_params = { - "anpe_fname_global": f"{settings.SBIPP_ROOT}/SBI_model_global.pt", # trained sbi model - "train_fname_global": f"{settings.SBIPP_PHOT_ROOT}/sbi_phot_global.h5", # training set - "anpe_fname_local": f"{settings.SBIPP_ROOT}/SBI_model_local.pt", # trained sbi model - "train_fname_local": f"{settings.SBIPP_PHOT_ROOT}/sbi_phot_local.h5", # training set + "anpe_fname_standard": f"{settings.SBIPP_ROOT}/SBI_model_standard.pt", # trained sbi model + "train_fname_standard": f"{settings.SBIPP_PHOT_ROOT}/sbi_phot_standard.h5", # training set + "anpe_fname_lowz": f"{settings.SBIPP_ROOT}/SBI_model_lowz.pt", # trained sbi model + "train_fname_lowz": f"{settings.SBIPP_PHOT_ROOT}/sbi_phot_lowz.h5", # training set "nhidden": 500, # architecture of the trained density estimator "nblocks": 15, # architecture of the trained density estimator } @@ -76,7 +76,7 @@ # training set def run_training_set(): - for _fit_type in ["global", "local"]: + for _fit_type in ["standard", "lowz"]: data = h5py.File(sbi_params[f"train_fname_{_fit_type}"], "r") x_train = np.array(data["theta"]) # physical parameters y_train = np.array(data["phot"]) # fluxes & uncertainties @@ -109,72 +109,72 @@ def run_training_set(): ) ) anpe._x_shape = Ut.x_shape_from_simulation(y_tensor) - if _fit_type == "global": - hatp_x_y_global = anpe.build_posterior( + if _fit_type == "standard": + hatp_x_y_standard = anpe.build_posterior( p_x_y_estimator, sample_with="rejection" ) - y_train_global = y_train[:] - x_train_global = x_train[:] - elif _fit_type == "local": - hatp_x_y_local = anpe.build_posterior( + y_train_standard = y_train[:] + x_train_standard = x_train[:] + elif _fit_type == "lowz": + hatp_x_y_lowz = anpe.build_posterior( p_x_y_estimator, sample_with="rejection" ) - y_train_local = y_train[:] - x_train_local = x_train[:] + y_train_lowz = y_train[:] + x_train_lowz = x_train[:] print("""Storing training sets as data files...""") with open( - os.path.join(settings.SBI_TRAINING_ROOT, "hatp_x_y_global.pkl"), "wb" + os.path.join(settings.SBI_TRAINING_ROOT, "hatp_x_y_standard.pkl"), "wb" ) as handle: - pickle.dump(hatp_x_y_global, handle) + pickle.dump(hatp_x_y_standard, handle) with open( - os.path.join(settings.SBI_TRAINING_ROOT, "y_train_global.pkl"), "wb" + os.path.join(settings.SBI_TRAINING_ROOT, "y_train_standard.pkl"), "wb" ) as handle: - pickle.dump(y_train_global, handle) + pickle.dump(y_train_standard, handle) with open( - os.path.join(settings.SBI_TRAINING_ROOT, "x_train_global.pkl"), "wb" + os.path.join(settings.SBI_TRAINING_ROOT, "x_train_standard.pkl"), "wb" ) as handle: - pickle.dump(x_train_global, handle) + pickle.dump(x_train_standard, handle) with open( - os.path.join(settings.SBI_TRAINING_ROOT, "hatp_x_y_local.pkl"), "wb" + os.path.join(settings.SBI_TRAINING_ROOT, "hatp_x_y_lowz.pkl"), "wb" ) as handle: - pickle.dump(hatp_x_y_local, handle) + pickle.dump(hatp_x_y_lowz, handle) with open( - os.path.join(settings.SBI_TRAINING_ROOT, "y_train_local.pkl"), "wb" + os.path.join(settings.SBI_TRAINING_ROOT, "y_train_lowz.pkl"), "wb" ) as handle: - pickle.dump(y_train_local, handle) + pickle.dump(y_train_lowz, handle) with open( - os.path.join(settings.SBI_TRAINING_ROOT, "x_train_local.pkl"), "wb" + os.path.join(settings.SBI_TRAINING_ROOT, "x_train_lowz.pkl"), "wb" ) as handle: - pickle.dump(x_train_local, handle) + pickle.dump(x_train_lowz, handle) try: print("""Loading training sets from data files...""") with open( - os.path.join(settings.SBI_TRAINING_ROOT, "hatp_x_y_global.pkl"), "rb" + os.path.join(settings.SBI_TRAINING_ROOT, "hatp_x_y_standard.pkl"), "rb" ) as handle: - hatp_x_y_global = pickle.load(handle) + hatp_x_y_standard = pickle.load(handle) with open( - os.path.join(settings.SBI_TRAINING_ROOT, "y_train_global.pkl"), "rb" + os.path.join(settings.SBI_TRAINING_ROOT, "y_train_standard.pkl"), "rb" ) as handle: - y_train_global = pickle.load(handle) + y_train_standard = pickle.load(handle) with open( - os.path.join(settings.SBI_TRAINING_ROOT, "x_train_global.pkl"), "rb" + os.path.join(settings.SBI_TRAINING_ROOT, "x_train_standard.pkl"), "rb" ) as handle: - x_train_global = pickle.load(handle) + x_train_standard = pickle.load(handle) with open( - os.path.join(settings.SBI_TRAINING_ROOT, "hatp_x_y_local.pkl"), "rb" + os.path.join(settings.SBI_TRAINING_ROOT, "hatp_x_y_lowz.pkl"), "rb" ) as handle: - hatp_x_y_local = pickle.load(handle) + hatp_x_y_lowz = pickle.load(handle) with open( - os.path.join(settings.SBI_TRAINING_ROOT, "y_train_local.pkl"), "rb" + os.path.join(settings.SBI_TRAINING_ROOT, "y_train_lowz.pkl"), "rb" ) as handle: - y_train_local = pickle.load(handle) + y_train_lowz = pickle.load(handle) with open( - os.path.join(settings.SBI_TRAINING_ROOT, "x_train_local.pkl"), "rb" + os.path.join(settings.SBI_TRAINING_ROOT, "x_train_lowz.pkl"), "rb" ) as handle: - x_train_local = pickle.load(handle) + x_train_lowz = pickle.load(handle) print("""Training sets loaded.""") except Exception as err: print(f"""Error loading training sets: {err}. Regenerating...""") @@ -189,14 +189,14 @@ def maggies_to_asinh(x): return -a * math.asinh((x / 2.0) * np.exp(mu / a)) + mu -def fit_sbi_pp(observations, n_filt_cuts=True, fit_type="global"): +def fit_sbi_pp(observations, n_filt_cuts=True, fit_type="standard"): np.random.seed(100) # make results reproducible # toy noise model meds_sigs, stds_sigs = [], [] for f in all_filters: - toy_noise_x, toy_noise_y = np.loadtxt( + toy_noise_x, toy_noise_y, toy_noise_std = np.loadtxt( f"host/SBI/snrfiles/{f.name}_magvsnr.txt", dtype=float, unpack=True ) meds_sigs += [ @@ -211,7 +211,7 @@ def fit_sbi_pp(observations, n_filt_cuts=True, fit_type="global"): stds_sigs += [ interp1d( toy_noise_x, - 1.0857 * 1 / toy_noise_y, + (1.0857 * 1 / toy_noise_y)*(toy_noise_std/toy_noise_y), kind="slinear", fill_value="extrapolate", # (0.01,1.0), bounds_error=False, @@ -268,14 +268,14 @@ def fit_sbi_pp(observations, n_filt_cuts=True, fit_type="global"): return {}, 1 # prepare to pass the reconstructed model to sbi_pp - if fit_type == "global": - sbi_params["y_train"] = y_train_global - sbi_params["theta_train"] = x_train_global - sbi_params["hatp_x_y"] = hatp_x_y_global - elif fit_type == "local": - sbi_params["y_train"] = y_train_local - sbi_params["hatp_x_y"] = hatp_x_y_local - sbi_params["theta_train"] = x_train_local + if fit_type == "standard": + sbi_params["y_train"] = y_train_standard + sbi_params["theta_train"] = x_train_standard + sbi_params["hatp_x_y"] = hatp_x_y_standard + elif fit_type == "lowz": + sbi_params["y_train"] = y_train_lowz + sbi_params["hatp_x_y"] = hatp_x_y_lowz + sbi_params["theta_train"] = x_train_lowz # Run SBI++ chain, obs, flags = sbi_pp.sbi_pp( diff --git a/app/host/SBI/sbi_pp.py b/app/host/SBI/sbi_pp.py index 4a9b5174..c07a3603 100644 --- a/app/host/SBI/sbi_pp.py +++ b/app/host/SBI/sbi_pp.py @@ -118,12 +118,13 @@ def chidof(mags, obsphot, obsphot_unc, individual=False): return chi / np.sum(np.isfinite(obsphot)) -def gauss_approx_missingband(obs, run_params, sbi_params, max_neighbors=200): +def gauss_approx_missingband(obs, run_params, sbi_params, max_neighbors=10): """nearest neighbor approximation of missing bands; see sec. 4.1.2 for details """ use_res = False - y_train = sbi_params["y_train"] + redshift_idx = np.where(abs(obs["redshift"]-sbi_params["y_train"][:,-1]) < 0.05)[0] + y_train = sbi_params["y_train"][redshift_idx] y_obs = np.copy(obs["mags_sbi"]) sig_obs = np.copy(obs["mags_unc_sbi"]) @@ -190,9 +191,10 @@ def sbi_missingband(obs, run_params, sbi_params, seconditer=False): print("sbi missing bands") ave_theta = [] - max_neighbors = 200 + max_neighbors = 10 + redshift_idx = np.where(abs(obs["redshift"]-sbi_params["y_train"][:,-1]) < 0.05)[0] hatp_x_y = sbi_params["hatp_x_y"] - y_train = sbi_params["y_train"] + y_train = sbi_params["y_train"][redshift_idx] y_obs = np.copy(obs["mags_sbi"]) sig_obs = np.copy(obs["mags_unc_sbi"]) invalid_mask = np.copy(obs["missing_mask"]) @@ -288,20 +290,21 @@ def sbi_missingband(obs, run_params, sbi_params, seconditer=False): x[22:][not_valid_idx[j]] = y_train[idx_chi2_selected][ np.random.choice(range(len(guess_ndata.T[j]))) ][22:][not_valid_idx[j]] - # x[not_valid_idx_unc[j]] = toy_noise( - # flux=x[not_valid_idx[j]], - # meds_sigs=sbi_params["toynoise_meds_sigs"][idx], - # stds_sigs=sbi_params["toynoise_stds_sigs"][idx], - # verbose=run_params["verbose"], - # )[1] + # D. Jones - 7/11/26 -- re-trying toy noise + #x[not_valid_idx_unc[j]] = toy_noise( + # flux=x[not_valid_idx[j]], + # meds_sigs=sbi_params["toynoise_meds_sigs"][idx], + # stds_sigs=sbi_params["toynoise_stds_sigs"][idx], + # verbose=run_params["verbose"], + #)[1] # the noise model in the training isn't quite right # Pan-STARRS in particular seems a little off # we'll have to re-train at some point, but for now just pull # uncertainties from the training sample - for idx, fname in zip(valid_idx, obs["filternames"][valid_idx]): - chc = np.random.choice(range(len(y_train[idx_chi2_selected]))) - x[22:-1][idx] = y_train[idx_chi2_selected][chc][22:-1][idx] + #for idx, fname in zip(valid_idx, obs["filternames"][valid_idx]): + # chc = np.random.choice(range(len(y_train[idx_chi2_selected]))) + # x[22:-1][idx] = y_train[idx_chi2_selected][chc][22:-1][idx] all_x.append(x) @@ -371,7 +374,8 @@ def lim_of_noisy_guass(obs, run_params, sbi_params): use_res = 1 - y_train = sbi_params["y_train"] + redshift_idx = np.where(abs(obs["redshift"]-sbi_params["y_train"][:,-1]) < 0.05)[0] + y_train = sbi_params["y_train"][redshift_idx] y_obs = np.copy(obs["mags_sbi"]) sig_obs = np.copy(obs["mags_unc_sbi"]) @@ -420,7 +424,7 @@ def lim_of_noisy_guass(obs, run_params, sbi_params): return lims, use_res -def sbi_mcnoise(obs, run_params, sbi_params, max_neighbors=200): +def sbi_mcnoise(obs, run_params, sbi_params, max_neighbors=10): """used when observations have out-of-distribution uncertainties; see sec. 4.1.1 for details """ @@ -431,8 +435,9 @@ def sbi_mcnoise(obs, run_params, sbi_params, max_neighbors=200): ave_theta = [] + redshift_idx = np.where(abs(obs["redshift"]-sbi_params["y_train"][:,-1]) < 0.05)[0] hatp_x_y = sbi_params["hatp_x_y"] - y_train = sbi_params["y_train"] + y_train = sbi_params["y_train"][redshift_idx] y_obs = np.copy(obs["mags_sbi"]) sig_obs = np.copy(obs["mags_unc_sbi"]) @@ -498,11 +503,11 @@ def sbi_mcnoise(obs, run_params, sbi_params, max_neighbors=200): )[1] # signal.alarm(run_params["tmax_per_obj"]) - for idx, fname in enumerate(obs["filternames"]): - chc = np.random.choice(range(len(y_train[idx_chi2_selected]))) - samp_y_guess[22:-1][idx] = y_train[idx_chi2_selected][chc][22:-1][ - idx - ] + #for idx, fname in enumerate(obs["filternames"]): + # chc = np.random.choice(range(len(y_train[idx_chi2_selected]))) + # samp_y_guess[22:-1][idx] = y_train[idx_chi2_selected][chc][22:-1][ + # idx + # ] do_continue = False for tmax, npost in zip( @@ -564,8 +569,9 @@ def sbi_missing_and_noisy(obs, run_params, sbi_params): ave_theta = [] + redshift_idx = np.where(abs(obs["redshift"]-sbi_params["y_train"][:,-1]) < 0.05)[0] hatp_x_y = sbi_params["hatp_x_y"] - y_train = sbi_params["y_train"] + y_train = sbi_params["y_train"][redshift_idx] y_obs = np.copy(obs["mags_sbi"]) sig_obs = np.copy(obs["mags_unc_sbi"]) @@ -642,10 +648,10 @@ def sbi_missing_and_noisy(obs, run_params, sbi_params): # Pan-STARRS in particular seems a little off # we'll have to re-train at some point, but for now just pull # uncertainties from the training sample - for idx, fname in zip(valid_idx, obs["filternames"][valid_idx]): + #for idx, fname in zip(valid_idx, obs["filternames"][valid_idx]): # if 'PanSTARRS' in fname or '2MASS' in fname or 'SDSS' in fname or 'DES' in fname: - chc = np.random.choice(range(len(y_train[idx_chi2_selected]))) - samp_y_guess[22:][idx] = y_train[idx_chi2_selected][chc][22:][idx] + # chc = np.random.choice(range(len(y_train[idx_chi2_selected]))) + # samp_y_guess[22:][idx] = y_train[idx_chi2_selected][chc][22:][idx] # if we can't get one posterior sample in one second, we should move along # to the next MC sample @@ -696,7 +702,7 @@ def sbi_missing_and_noisy(obs, run_params, sbi_params): return ave_theta, use_res, timeout_flag, cnt -def sbi_baseline(obs, run_params, sbi_params, max_neighbors=200): +def sbi_baseline(obs, run_params, sbi_params, max_neighbors=10): signal.signal(signal.SIGALRM, timeout_handler) if run_params["verbose"]: @@ -714,8 +720,9 @@ def sbi_baseline(obs, run_params, sbi_params, max_neighbors=200): "nsamp_noisy": -99, # number of MC samples drawn } + redshift_idx = np.where(abs(obs["redshift"]-sbi_params["y_train"][:,-1]) < 0.05)[0] hatp_x_y = sbi_params["hatp_x_y"] - y_train = sbi_params["y_train"] + y_train = sbi_params["y_train"][redshift_idx] y_obs = np.copy(obs["mags"]) sig_obs = np.copy(obs["mags_unc"]) @@ -754,9 +761,9 @@ def sbi_baseline(obs, run_params, sbi_params, max_neighbors=200): x = np.concatenate([y_obs, sig_obs, [obs["redshift"]]]) - for idx, fname in enumerate(obs["filternames"]): - chc = np.random.choice(range(len(y_train[idx_chi2_selected]))) - x[22:-1][idx] = y_train[idx_chi2_selected][chc][22:-1][idx] + #for idx, fname in enumerate(obs["filternames"]): + # chc = np.random.choice(range(len(y_train[idx_chi2_selected]))) + # x[22:-1][idx] = y_train[idx_chi2_selected][chc][22:-1][idx] try: ave_theta = hatp_x_y.sample( @@ -777,7 +784,7 @@ def sbi_baseline(obs, run_params, sbi_params, max_neighbors=200): return ave_theta, obs, flags -def sbi_pp(obs, run_params, sbi_params, max_neighbors=200): +def sbi_pp(obs, run_params, sbi_params, max_neighbors=10): """wrapper for sbi++; this should be the only function needed to be called outside this scipt under normal circumstances obs: a dictionary at least containing @@ -801,11 +808,13 @@ def sbi_pp(obs, run_params, sbi_params, max_neighbors=200): "nsamp_noisy": -99, # number of MC samples drawn } + redshift_idx = np.where(abs(obs["redshift"]-sbi_params["y_train"][:,-1]) < 0.05)[0] hatp_x_y = sbi_params["hatp_x_y"] - y_train = sbi_params["y_train"] + y_train = sbi_params["y_train"][redshift_idx] y_obs = np.copy(obs["mags"]) sig_obs = np.copy(obs["mags_unc"]) + # copy the observed data to be used by sbi # missing data, if any, will be filled in later obs["mags_sbi"] = y_obs @@ -825,9 +834,10 @@ def sbi_pp(obs, run_params, sbi_params, max_neighbors=200): stds_sigs=sbi_params["toynoise_stds_sigs"][j], verbose=run_params["verbose"], ) - noisy_mask[j] = (sig_obs[j] - _toynoise[1]) / _toynoise[2] >= run_params[ + noisy_mask[j] = abs((sig_obs[j] - _toynoise[1]) / _toynoise[2]) >= run_params[ "noisy_sig" ] + # if noisy_mask[j]: # import pdb; pdb.set_trace() noisy_mask &= np.isfinite(y_obs) # idx of noisy bands @@ -868,9 +878,9 @@ def sbi_pp(obs, run_params, sbi_params, max_neighbors=200): x = np.concatenate([y_obs, sig_obs, [obs["redshift"]]]) - for idx, fname in enumerate(obs["filternames"]): - chc = np.random.choice(range(len(y_train[idx_chi2_selected]))) - x[22:-1][idx] = y_train[idx_chi2_selected][chc][22:-1][idx] + #for idx, fname in enumerate(obs["filternames"]): + # chc = np.random.choice(range(len(y_train[idx_chi2_selected]))) + # x[22:-1][idx] = y_train[idx_chi2_selected][chc][22:-1][idx] try: ave_theta = hatp_x_y.sample( diff --git a/app/host/SBI/snrfiles/2MASS_H_magvsnr.txt b/app/host/SBI/snrfiles/2MASS_H_magvsnr.txt index 0ca38da7..36dad951 100644 --- a/app/host/SBI/snrfiles/2MASS_H_magvsnr.txt +++ b/app/host/SBI/snrfiles/2MASS_H_magvsnr.txt @@ -1,38 +1,118 @@ -10.251 102.154 -10.501 88.819 -10.751 81.025 -11.001 66.689 -11.251 60.840 -11.501 57.260 -11.751 38.349 -12.001 36.082 -12.251 36.400 -12.501 31.461 -12.751 25.081 -13.001 24.932 -13.251 23.476 -13.501 18.236 -13.751 17.191 -14.001 17.036 -14.251 13.051 -14.501 11.815 -14.751 11.906 -15.001 8.395 -15.251 8.130 -15.501 7.529 -15.751 6.889 -16.001 5.267 -16.251 4.883 -16.501 3.658 -16.751 3.944 -17.001 3.034 -17.251 2.283 -17.501 2.528 -17.751 1.964 -18.001 1.278 -18.251 1.744 -18.501 1.456 -18.751 0.732 -19.001 0.891 -19.251 1.053 -19.501 0.818 +10.673 84.234 14.376 +10.923 81.819 12.295 +11.173 74.140 16.535 +11.423 66.978 14.108 +11.673 62.777 14.573 +11.923 56.863 14.955 +12.173 52.438 16.545 +12.423 44.738 15.687 +12.673 41.178 16.286 +12.923 36.609 15.279 +13.173 30.575 15.266 +13.423 28.089 14.633 +13.673 23.978 12.931 +13.923 21.537 11.788 +14.173 18.981 10.329 +14.423 16.332 9.281 +14.673 14.038 7.414 +14.923 11.830 6.642 +15.173 10.142 5.054 +15.423 8.516 4.056 +15.673 7.305 3.365 +15.923 6.109 2.778 +16.173 5.119 2.151 +16.423 4.315 1.757 +16.673 3.592 1.338 +16.923 3.082 1.086 +17.173 2.576 0.865 +17.423 2.156 0.688 +17.673 1.774 0.533 +17.923 1.501 0.441 +18.173 1.231 0.356 +18.423 1.013 0.284 +18.673 0.823 0.226 +18.923 0.653 0.183 +19.173 0.532 0.147 +19.423 0.425 0.118 +19.673 0.341 0.095 +19.923 0.267 0.075 +20.173 0.216 0.056 +20.423 0.168 0.049 +20.673 0.133 0.040 +20.923 0.108 0.027 +21.173 0.087 0.021 +21.423 0.066 0.019 +21.673 0.056 0.014 +21.923 0.056 0.014 +22.173 0.056 0.014 +22.423 0.056 0.014 +22.673 0.056 0.014 +22.923 0.056 0.014 +23.173 0.056 0.014 +23.423 0.056 0.014 +23.673 0.056 0.014 +23.923 0.056 0.014 +24.173 0.056 0.014 +24.423 0.056 0.014 +24.673 0.056 0.014 +24.923 0.056 0.014 +25.173 0.056 0.014 +25.423 0.056 0.014 +25.673 0.056 0.014 +25.923 0.056 0.014 +26.173 0.056 0.014 +26.423 0.056 0.014 +26.673 0.056 0.014 +26.923 0.056 0.014 +27.173 0.056 0.014 +27.423 0.056 0.014 +27.673 0.056 0.014 +27.923 0.056 0.014 +28.173 0.056 0.014 +28.423 0.056 0.014 +28.673 0.056 0.014 +28.923 0.056 0.014 +29.173 0.056 0.014 +29.423 0.056 0.014 +29.673 0.056 0.014 +29.923 0.056 0.014 +30.173 0.056 0.014 +30.423 0.056 0.014 +30.673 0.056 0.014 +30.923 0.056 0.014 +31.173 0.056 0.014 +31.423 0.056 0.014 +31.673 0.056 0.014 +31.923 0.056 0.014 +32.173 0.056 0.014 +32.423 0.056 0.014 +32.673 0.056 0.014 +32.923 0.056 0.014 +33.173 0.056 0.014 +33.423 0.056 0.014 +33.673 0.056 0.014 +33.923 0.056 0.014 +34.173 0.056 0.014 +34.423 0.056 0.014 +34.673 0.056 0.014 +34.923 0.056 0.014 +35.173 0.056 0.014 +35.423 0.056 0.014 +35.673 0.056 0.014 +35.923 0.056 0.014 +36.173 0.056 0.014 +36.423 0.056 0.014 +36.673 0.056 0.014 +36.923 0.056 0.014 +37.173 0.056 0.014 +37.423 0.056 0.014 +37.673 0.056 0.014 +37.923 0.056 0.014 +38.173 0.056 0.014 +38.423 0.056 0.014 +38.673 0.056 0.014 +38.923 0.056 0.014 +39.173 0.056 0.014 +39.423 0.056 0.014 +39.673 0.056 0.014 +39.923 0.056 0.014 diff --git a/app/host/SBI/snrfiles/2MASS_J_magvsnr.txt b/app/host/SBI/snrfiles/2MASS_J_magvsnr.txt index f02bc061..64a66fca 100644 --- a/app/host/SBI/snrfiles/2MASS_J_magvsnr.txt +++ b/app/host/SBI/snrfiles/2MASS_J_magvsnr.txt @@ -1,40 +1,117 @@ -11.136 83.192 -11.386 89.193 -11.636 64.847 -11.886 59.652 -12.136 63.543 -12.386 52.373 -12.636 36.116 -12.886 37.328 -13.136 33.797 -13.386 28.133 -13.636 23.833 -13.886 23.819 -14.136 20.900 -14.386 17.309 -14.636 17.818 -14.886 16.679 -15.136 13.865 -15.386 12.714 -15.636 9.538 -15.886 8.468 -16.136 7.098 -16.386 6.917 -16.636 5.224 -16.886 5.280 -17.136 3.906 -17.386 3.517 -17.636 3.691 -17.886 2.803 -18.136 2.097 -18.386 2.255 -18.636 2.118 -18.886 1.783 -19.136 1.128 -19.386 1.180 -19.636 1.103 -19.886 1.026 -20.136 0.896 -20.386 0.859 -20.636 0.821 -20.886 0.783 +10.826 90.659 10.980 +11.076 86.953 13.164 +11.326 81.376 13.019 +11.576 76.103 15.596 +11.826 73.519 13.271 +12.076 64.371 15.636 +12.326 61.247 15.209 +12.576 54.211 14.722 +12.826 50.122 15.955 +13.076 43.560 15.332 +13.326 38.802 15.933 +13.576 33.958 14.892 +13.826 30.944 14.630 +14.076 26.526 13.399 +14.326 23.561 11.511 +14.576 20.826 11.126 +14.826 17.621 8.925 +15.076 14.905 7.664 +15.326 13.018 6.304 +15.576 11.057 5.093 +15.826 9.199 4.117 +16.076 7.875 3.394 +16.326 6.557 2.629 +16.576 5.502 2.246 +16.826 4.581 1.683 +17.076 3.939 1.368 +17.326 3.247 1.081 +17.576 2.683 0.858 +17.826 2.249 0.665 +18.076 1.885 0.529 +18.326 1.552 0.428 +18.576 1.279 0.342 +18.826 1.042 0.275 +19.076 0.857 0.218 +19.326 0.686 0.178 +19.576 0.559 0.138 +19.826 0.447 0.111 +20.076 0.348 0.088 +20.326 0.282 0.070 +20.576 0.218 0.052 +20.826 0.168 0.045 +21.076 0.139 0.036 +21.326 0.114 0.028 +21.576 0.086 0.023 +21.826 0.072 0.018 +22.076 0.057 0.014 +22.326 0.057 0.014 +22.576 0.057 0.014 +22.826 0.057 0.014 +23.076 0.057 0.014 +23.326 0.057 0.014 +23.576 0.057 0.014 +23.826 0.057 0.014 +24.076 0.057 0.014 +24.326 0.057 0.014 +24.576 0.057 0.014 +24.826 0.057 0.014 +25.076 0.057 0.014 +25.326 0.057 0.014 +25.576 0.057 0.014 +25.826 0.057 0.014 +26.076 0.057 0.014 +26.326 0.057 0.014 +26.576 0.057 0.014 +26.826 0.057 0.014 +27.076 0.057 0.014 +27.326 0.057 0.014 +27.576 0.057 0.014 +27.826 0.057 0.014 +28.076 0.057 0.014 +28.326 0.057 0.014 +28.576 0.057 0.014 +28.826 0.057 0.014 +29.076 0.057 0.014 +29.326 0.057 0.014 +29.576 0.057 0.014 +29.826 0.057 0.014 +30.076 0.057 0.014 +30.326 0.057 0.014 +30.576 0.057 0.014 +30.826 0.057 0.014 +31.076 0.057 0.014 +31.326 0.057 0.014 +31.576 0.057 0.014 +31.826 0.057 0.014 +32.076 0.057 0.014 +32.326 0.057 0.014 +32.576 0.057 0.014 +32.826 0.057 0.014 +33.076 0.057 0.014 +33.326 0.057 0.014 +33.576 0.057 0.014 +33.826 0.057 0.014 +34.076 0.057 0.014 +34.326 0.057 0.014 +34.576 0.057 0.014 +34.826 0.057 0.014 +35.076 0.057 0.014 +35.326 0.057 0.014 +35.576 0.057 0.014 +35.826 0.057 0.014 +36.076 0.057 0.014 +36.326 0.057 0.014 +36.576 0.057 0.014 +36.826 0.057 0.014 +37.076 0.057 0.014 +37.326 0.057 0.014 +37.576 0.057 0.014 +37.826 0.057 0.014 +38.076 0.057 0.014 +38.326 0.057 0.014 +38.576 0.057 0.014 +38.826 0.057 0.014 +39.076 0.057 0.014 +39.326 0.057 0.014 +39.576 0.057 0.014 +39.826 0.057 0.014 diff --git a/app/host/SBI/snrfiles/2MASS_K_magvsnr.txt b/app/host/SBI/snrfiles/2MASS_K_magvsnr.txt index dfeedb70..30fe1375 100644 --- a/app/host/SBI/snrfiles/2MASS_K_magvsnr.txt +++ b/app/host/SBI/snrfiles/2MASS_K_magvsnr.txt @@ -1,41 +1,116 @@ -10.204 69.532 -10.454 69.387 -10.704 52.577 -10.954 48.825 -11.204 47.694 -11.454 31.483 -11.704 26.719 -11.954 29.255 -12.204 28.379 -12.454 21.182 -12.704 19.389 -12.954 18.060 -13.204 17.080 -13.454 12.613 -13.704 12.310 -13.954 12.281 -14.204 10.886 -14.454 8.578 -14.704 7.389 -14.954 5.941 -15.204 6.674 -15.454 4.904 -15.704 4.210 -15.954 3.483 -16.204 2.765 -16.454 3.453 -16.704 2.106 -16.954 2.134 -17.204 2.141 -17.454 1.454 -17.704 1.757 -17.954 1.399 -18.204 1.219 -18.454 1.038 -18.704 0.929 -18.954 0.819 -19.204 0.821 -19.454 0.797 -19.704 0.773 -19.954 0.536 -20.204 0.299 +11.031 73.219 13.478 +11.281 67.191 14.440 +11.531 56.962 15.017 +11.781 53.417 14.408 +12.031 47.507 15.188 +12.281 45.039 16.863 +12.531 36.078 15.294 +12.781 32.940 15.847 +13.031 29.633 14.532 +13.281 25.333 14.040 +13.531 22.391 12.188 +13.781 19.823 11.614 +14.031 16.870 10.547 +14.281 15.127 8.718 +14.531 13.060 7.664 +14.781 11.330 5.903 +15.031 9.593 5.176 +15.281 8.156 4.035 +15.531 6.907 3.152 +15.781 5.920 2.528 +16.031 4.940 2.190 +16.281 4.160 1.675 +16.531 3.481 1.361 +16.781 2.933 1.079 +17.031 2.460 0.843 +17.281 2.084 0.677 +17.531 1.720 0.531 +17.781 1.426 0.425 +18.031 1.191 0.343 +18.281 0.993 0.279 +18.531 0.797 0.224 +18.781 0.634 0.175 +19.031 0.507 0.143 +19.281 0.414 0.119 +19.531 0.330 0.088 +19.781 0.263 0.072 +20.031 0.205 0.057 +20.281 0.167 0.045 +20.531 0.129 0.035 +20.781 0.101 0.027 +21.031 0.081 0.024 +21.281 0.066 0.019 +21.531 0.049 0.015 +21.781 0.042 0.012 +22.031 0.032 0.010 +22.281 0.032 0.010 +22.531 0.032 0.010 +22.781 0.032 0.010 +23.031 0.032 0.010 +23.281 0.032 0.010 +23.531 0.032 0.010 +23.781 0.032 0.010 +24.031 0.032 0.010 +24.281 0.032 0.010 +24.531 0.032 0.010 +24.781 0.032 0.010 +25.031 0.032 0.010 +25.281 0.032 0.010 +25.531 0.032 0.010 +25.781 0.032 0.010 +26.031 0.032 0.010 +26.281 0.032 0.010 +26.531 0.032 0.010 +26.781 0.032 0.010 +27.031 0.032 0.010 +27.281 0.032 0.010 +27.531 0.032 0.010 +27.781 0.032 0.010 +28.031 0.032 0.010 +28.281 0.032 0.010 +28.531 0.032 0.010 +28.781 0.032 0.010 +29.031 0.032 0.010 +29.281 0.032 0.010 +29.531 0.032 0.010 +29.781 0.032 0.010 +30.031 0.032 0.010 +30.281 0.032 0.010 +30.531 0.032 0.010 +30.781 0.032 0.010 +31.031 0.032 0.010 +31.281 0.032 0.010 +31.531 0.032 0.010 +31.781 0.032 0.010 +32.031 0.032 0.010 +32.281 0.032 0.010 +32.531 0.032 0.010 +32.781 0.032 0.010 +33.031 0.032 0.010 +33.281 0.032 0.010 +33.531 0.032 0.010 +33.781 0.032 0.010 +34.031 0.032 0.010 +34.281 0.032 0.010 +34.531 0.032 0.010 +34.781 0.032 0.010 +35.031 0.032 0.010 +35.281 0.032 0.010 +35.531 0.032 0.010 +35.781 0.032 0.010 +36.031 0.032 0.010 +36.281 0.032 0.010 +36.531 0.032 0.010 +36.781 0.032 0.010 +37.031 0.032 0.010 +37.281 0.032 0.010 +37.531 0.032 0.010 +37.781 0.032 0.010 +38.031 0.032 0.010 +38.281 0.032 0.010 +38.531 0.032 0.010 +38.781 0.032 0.010 +39.031 0.032 0.010 +39.281 0.032 0.010 +39.531 0.032 0.010 +39.781 0.032 0.010 diff --git a/app/host/SBI/snrfiles/DES_g_magvsnr.txt b/app/host/SBI/snrfiles/DES_g_magvsnr.txt index ac213267..5d19a436 100644 --- a/app/host/SBI/snrfiles/DES_g_magvsnr.txt +++ b/app/host/SBI/snrfiles/DES_g_magvsnr.txt @@ -1,33 +1,107 @@ -14.095 1498.834 -14.345 1351.754 -14.595 1539.793 -14.845 1354.735 -15.095 1127.177 -15.345 825.908 -15.595 665.150 -15.845 842.000 -16.095 728.931 -16.345 676.029 -16.595 562.362 -16.845 488.038 -17.095 383.174 -17.345 394.547 -17.595 349.924 -17.845 320.220 -18.095 242.899 -18.345 192.111 -18.595 193.220 -18.845 169.726 -19.095 142.447 -19.345 155.718 -19.595 130.075 -19.845 111.698 -20.095 98.763 -20.345 92.329 -20.595 75.412 -20.845 72.376 -21.095 69.339 -21.345 56.024 -21.595 45.311 -21.845 44.467 -22.095 32.316 +13.251 99.832 0.568 +13.501 99.816 0.698 +13.751 99.809 0.861 +14.001 99.732 1.293 +14.251 99.728 0.685 +14.501 99.650 2.730 +14.751 99.635 1.062 +15.001 99.479 4.373 +15.251 99.409 2.305 +15.501 99.187 1.236 +15.751 99.119 3.246 +16.001 98.844 3.783 +16.251 98.593 2.965 +16.501 98.063 4.507 +16.751 97.770 5.848 +17.001 97.150 4.428 +17.251 96.376 4.733 +17.501 95.487 4.962 +17.751 94.451 5.525 +18.001 92.832 5.660 +18.251 91.448 6.217 +18.501 88.992 7.269 +18.751 86.701 7.024 +19.001 83.968 8.328 +19.251 80.927 8.943 +19.501 77.402 9.392 +19.751 72.154 10.449 +20.001 67.890 10.822 +20.251 63.060 11.205 +20.501 57.471 11.570 +20.751 51.566 11.477 +21.001 45.870 11.136 +21.251 40.899 10.678 +21.501 36.389 9.522 +21.751 31.880 8.951 +22.001 27.423 7.697 +22.251 23.665 7.024 +22.501 19.900 6.436 +22.751 16.628 5.274 +23.001 14.768 4.568 +23.251 12.222 3.683 +23.501 9.861 3.558 +23.751 8.603 2.730 +24.001 6.689 2.426 +24.251 6.002 1.819 +24.501 6.002 1.819 +24.751 6.002 1.819 +25.001 6.002 1.819 +25.251 6.002 1.819 +25.501 6.002 1.819 +25.751 6.002 1.819 +26.001 6.002 1.819 +26.251 6.002 1.819 +26.501 6.002 1.819 +26.751 6.002 1.819 +27.001 6.002 1.819 +27.251 6.002 1.819 +27.501 6.002 1.819 +27.751 6.002 1.819 +28.001 6.002 1.819 +28.251 6.002 1.819 +28.501 6.002 1.819 +28.751 6.002 1.819 +29.001 6.002 1.819 +29.251 6.002 1.819 +29.501 6.002 1.819 +29.751 6.002 1.819 +30.001 6.002 1.819 +30.251 6.002 1.819 +30.501 6.002 1.819 +30.751 6.002 1.819 +31.001 6.002 1.819 +31.251 6.002 1.819 +31.501 6.002 1.819 +31.751 6.002 1.819 +32.001 6.002 1.819 +32.251 6.002 1.819 +32.501 6.002 1.819 +32.751 6.002 1.819 +33.001 6.002 1.819 +33.251 6.002 1.819 +33.501 6.002 1.819 +33.751 6.002 1.819 +34.001 6.002 1.819 +34.251 6.002 1.819 +34.501 6.002 1.819 +34.751 6.002 1.819 +35.001 6.002 1.819 +35.251 6.002 1.819 +35.501 6.002 1.819 +35.751 6.002 1.819 +36.001 6.002 1.819 +36.251 6.002 1.819 +36.501 6.002 1.819 +36.751 6.002 1.819 +37.001 6.002 1.819 +37.251 6.002 1.819 +37.501 6.002 1.819 +37.751 6.002 1.819 +38.001 6.002 1.819 +38.251 6.002 1.819 +38.501 6.002 1.819 +38.751 6.002 1.819 +39.001 6.002 1.819 +39.251 6.002 1.819 +39.501 6.002 1.819 +39.751 6.002 1.819 diff --git a/app/host/SBI/snrfiles/DES_r_magvsnr.txt b/app/host/SBI/snrfiles/DES_r_magvsnr.txt index 3a64ffc7..fe8141ad 100644 --- a/app/host/SBI/snrfiles/DES_r_magvsnr.txt +++ b/app/host/SBI/snrfiles/DES_r_magvsnr.txt @@ -1,35 +1,108 @@ -13.220 1380.660 -13.470 1515.118 -13.720 1440.689 -13.970 1075.392 -14.220 1171.863 -14.470 1122.357 -14.720 743.579 -14.970 847.772 -15.220 701.530 -15.470 607.197 -15.720 638.522 -15.970 581.440 -16.220 401.855 -16.470 350.811 -16.720 509.118 -16.970 344.474 -17.220 283.598 -17.470 204.505 -17.720 224.727 -17.970 158.058 -18.220 173.284 -18.470 165.233 -18.720 150.001 -18.970 109.567 -19.220 96.969 -19.470 110.299 -19.720 74.490 -19.970 85.434 -20.220 79.614 -20.470 73.795 -20.720 46.062 -20.970 45.486 -21.220 41.995 -21.470 38.503 -21.720 25.180 +13.072 99.748 0.599 +13.322 99.733 0.947 +13.572 99.686 0.824 +13.822 99.598 0.855 +14.072 99.531 1.150 +14.322 99.413 2.284 +14.572 99.259 2.367 +14.822 99.065 2.483 +15.072 98.798 1.829 +15.322 98.656 2.069 +15.572 98.137 3.312 +15.822 97.829 4.086 +16.072 97.253 3.911 +16.322 96.478 4.871 +16.572 95.573 4.831 +16.822 94.514 5.326 +17.072 93.254 5.280 +17.322 91.698 5.796 +17.572 89.468 7.002 +17.822 87.590 7.443 +18.072 84.666 8.634 +18.322 81.776 9.730 +18.572 78.675 10.545 +18.822 74.470 11.650 +19.072 70.014 12.273 +19.322 65.685 12.899 +19.572 61.156 13.520 +19.822 55.501 13.939 +20.072 50.293 13.726 +20.322 45.696 14.469 +20.572 40.311 13.524 +20.822 35.620 12.497 +21.072 31.610 11.829 +21.322 27.456 10.960 +21.572 24.490 9.961 +21.822 20.827 9.367 +22.072 18.585 7.687 +22.322 15.859 6.953 +22.572 12.864 6.225 +22.822 11.554 5.597 +23.072 9.200 4.167 +23.322 7.927 3.872 +23.572 6.882 2.746 +23.822 5.399 2.509 +24.072 5.399 2.509 +24.322 5.399 2.509 +24.572 5.399 2.509 +24.822 5.399 2.509 +25.072 5.399 2.509 +25.322 5.399 2.509 +25.572 5.399 2.509 +25.822 5.399 2.509 +26.072 5.399 2.509 +26.322 5.399 2.509 +26.572 5.399 2.509 +26.822 5.399 2.509 +27.072 5.399 2.509 +27.322 5.399 2.509 +27.572 5.399 2.509 +27.822 5.399 2.509 +28.072 5.399 2.509 +28.322 5.399 2.509 +28.572 5.399 2.509 +28.822 5.399 2.509 +29.072 5.399 2.509 +29.322 5.399 2.509 +29.572 5.399 2.509 +29.822 5.399 2.509 +30.072 5.399 2.509 +30.322 5.399 2.509 +30.572 5.399 2.509 +30.822 5.399 2.509 +31.072 5.399 2.509 +31.322 5.399 2.509 +31.572 5.399 2.509 +31.822 5.399 2.509 +32.072 5.399 2.509 +32.322 5.399 2.509 +32.572 5.399 2.509 +32.822 5.399 2.509 +33.072 5.399 2.509 +33.322 5.399 2.509 +33.572 5.399 2.509 +33.822 5.399 2.509 +34.072 5.399 2.509 +34.322 5.399 2.509 +34.572 5.399 2.509 +34.822 5.399 2.509 +35.072 5.399 2.509 +35.322 5.399 2.509 +35.572 5.399 2.509 +35.822 5.399 2.509 +36.072 5.399 2.509 +36.322 5.399 2.509 +36.572 5.399 2.509 +36.822 5.399 2.509 +37.072 5.399 2.509 +37.322 5.399 2.509 +37.572 5.399 2.509 +37.822 5.399 2.509 +38.072 5.399 2.509 +38.322 5.399 2.509 +38.572 5.399 2.509 +38.822 5.399 2.509 +39.072 5.399 2.509 +39.322 5.399 2.509 +39.572 5.399 2.509 +39.822 5.399 2.509 diff --git a/app/host/SBI/snrfiles/DES_z_magvsnr.txt b/app/host/SBI/snrfiles/DES_z_magvsnr.txt index 46badb51..039d0310 100644 --- a/app/host/SBI/snrfiles/DES_z_magvsnr.txt +++ b/app/host/SBI/snrfiles/DES_z_magvsnr.txt @@ -1,34 +1,111 @@ -12.541 745.456 -12.791 851.234 -13.041 877.348 -13.291 673.375 -13.541 603.870 -13.791 552.570 -14.041 539.094 -14.291 485.266 -14.541 386.892 -14.791 328.524 -15.041 298.223 -15.291 266.563 -15.541 305.988 -15.791 228.101 -16.041 200.223 -16.291 211.366 -16.541 177.799 -16.791 139.803 -17.041 132.773 -17.291 124.820 -17.541 88.054 -17.791 88.806 -18.041 93.157 -18.291 64.252 -18.541 68.874 -18.791 48.970 -19.041 45.735 -19.291 51.471 -19.541 35.820 -19.791 35.549 -20.041 35.278 -20.291 26.431 -20.541 25.123 -20.791 24.644 +12.334 99.533 0.549 +12.584 99.359 0.863 +12.834 99.294 0.698 +13.084 99.058 1.602 +13.334 98.961 1.226 +13.584 98.650 2.377 +13.834 98.233 2.451 +14.084 97.824 4.070 +14.334 97.370 4.525 +14.584 96.652 2.543 +14.834 96.074 3.711 +15.084 94.885 4.922 +15.334 93.924 6.254 +15.584 92.573 5.051 +15.834 90.711 5.934 +16.084 88.045 7.130 +16.334 86.104 8.002 +16.584 82.897 8.360 +16.834 79.829 8.682 +17.084 76.791 8.741 +17.334 72.790 9.483 +17.584 68.629 9.966 +17.834 63.809 10.949 +18.084 59.277 11.081 +18.334 54.342 10.989 +18.584 49.631 10.952 +18.834 45.152 10.414 +19.084 40.583 10.385 +19.334 36.908 10.181 +19.584 32.495 9.388 +19.834 29.159 8.396 +20.084 25.654 7.912 +20.334 22.479 7.079 +20.584 19.890 6.162 +20.834 17.433 5.758 +21.084 15.139 5.116 +21.334 13.237 4.592 +21.584 11.978 4.106 +21.834 9.950 3.514 +22.084 8.507 3.106 +22.334 7.434 2.519 +22.584 5.919 2.499 +22.834 5.183 1.887 +23.084 4.064 1.710 +23.334 3.207 1.462 +23.584 2.800 1.262 +23.834 2.332 0.971 +24.084 2.332 0.971 +24.334 2.332 0.971 +24.584 2.332 0.971 +24.834 2.332 0.971 +25.084 2.332 0.971 +25.334 2.332 0.971 +25.584 2.332 0.971 +25.834 2.332 0.971 +26.084 2.332 0.971 +26.334 2.332 0.971 +26.584 2.332 0.971 +26.834 2.332 0.971 +27.084 2.332 0.971 +27.334 2.332 0.971 +27.584 2.332 0.971 +27.834 2.332 0.971 +28.084 2.332 0.971 +28.334 2.332 0.971 +28.584 2.332 0.971 +28.834 2.332 0.971 +29.084 2.332 0.971 +29.334 2.332 0.971 +29.584 2.332 0.971 +29.834 2.332 0.971 +30.084 2.332 0.971 +30.334 2.332 0.971 +30.584 2.332 0.971 +30.834 2.332 0.971 +31.084 2.332 0.971 +31.334 2.332 0.971 +31.584 2.332 0.971 +31.834 2.332 0.971 +32.084 2.332 0.971 +32.334 2.332 0.971 +32.584 2.332 0.971 +32.834 2.332 0.971 +33.084 2.332 0.971 +33.334 2.332 0.971 +33.584 2.332 0.971 +33.834 2.332 0.971 +34.084 2.332 0.971 +34.334 2.332 0.971 +34.584 2.332 0.971 +34.834 2.332 0.971 +35.084 2.332 0.971 +35.334 2.332 0.971 +35.584 2.332 0.971 +35.834 2.332 0.971 +36.084 2.332 0.971 +36.334 2.332 0.971 +36.584 2.332 0.971 +36.834 2.332 0.971 +37.084 2.332 0.971 +37.334 2.332 0.971 +37.584 2.332 0.971 +37.834 2.332 0.971 +38.084 2.332 0.971 +38.334 2.332 0.971 +38.584 2.332 0.971 +38.834 2.332 0.971 +39.084 2.332 0.971 +39.334 2.332 0.971 +39.584 2.332 0.971 +39.834 2.332 0.971 diff --git a/app/host/SBI/snrfiles/GALEX_FUV_magvsnr.txt b/app/host/SBI/snrfiles/GALEX_FUV_magvsnr.txt index 467ebe2b..44b88395 100644 --- a/app/host/SBI/snrfiles/GALEX_FUV_magvsnr.txt +++ b/app/host/SBI/snrfiles/GALEX_FUV_magvsnr.txt @@ -1,35 +1,99 @@ -17.728 24.130 -17.978 25.067 -18.228 26.003 -18.478 28.711 -18.728 20.557 -18.978 18.112 -19.228 19.044 -19.478 15.839 -19.728 14.159 -19.978 16.936 -20.228 8.754 -20.478 12.591 -20.728 11.202 -20.978 11.820 -21.228 6.099 -21.478 6.566 -21.728 7.327 -21.978 4.138 -22.228 5.171 -22.478 4.367 -22.728 3.428 -22.978 2.250 -23.228 3.982 -23.478 1.970 -23.728 2.820 -23.978 5.000 -24.228 1.573 -24.478 2.968 -24.728 1.808 -24.978 2.375 -25.228 1.693 -25.478 1.010 -25.728 1.313 -25.978 1.615 -26.228 1.918 +15.469 40.672 23.167 +15.719 41.155 22.586 +15.969 34.867 21.400 +16.219 30.173 17.972 +16.469 31.630 20.104 +16.719 26.639 21.007 +16.969 25.449 19.550 +17.219 22.447 20.012 +17.469 19.182 16.206 +17.719 18.145 17.103 +17.969 15.546 16.862 +18.219 13.935 14.794 +18.469 12.361 13.870 +18.719 11.043 13.750 +18.969 10.049 10.324 +19.219 9.068 10.963 +19.469 8.157 9.765 +19.719 7.200 8.974 +19.969 6.369 8.687 +20.219 5.711 8.106 +20.469 5.156 7.226 +20.719 4.563 6.859 +20.969 4.026 5.997 +21.219 3.612 5.819 +21.469 3.309 4.988 +21.719 3.012 5.138 +21.969 2.648 3.743 +22.219 2.480 4.772 +22.469 2.228 4.177 +22.719 2.011 4.311 +22.969 1.870 3.334 +23.219 1.755 3.917 +23.469 1.566 3.200 +23.719 1.434 2.626 +23.969 1.558 3.045 +24.219 1.468 2.786 +24.469 1.334 2.706 +24.719 1.250 2.450 +24.969 1.042 1.919 +25.219 0.857 1.944 +25.469 0.702 1.373 +25.719 0.570 1.324 +25.969 0.499 1.242 +26.219 0.396 0.996 +26.469 0.387 0.670 +26.719 0.387 0.670 +26.969 0.387 0.670 +27.219 0.387 0.670 +27.469 0.387 0.670 +27.719 0.387 0.670 +27.969 0.387 0.670 +28.219 0.387 0.670 +28.469 0.387 0.670 +28.719 0.387 0.670 +28.969 0.387 0.670 +29.219 0.387 0.670 +29.469 0.387 0.670 +29.719 0.387 0.670 +29.969 0.387 0.670 +30.219 0.387 0.670 +30.469 0.387 0.670 +30.719 0.387 0.670 +30.969 0.387 0.670 +31.219 0.387 0.670 +31.469 0.387 0.670 +31.719 0.387 0.670 +31.969 0.387 0.670 +32.219 0.387 0.670 +32.469 0.387 0.670 +32.719 0.387 0.670 +32.969 0.387 0.670 +33.219 0.387 0.670 +33.469 0.387 0.670 +33.719 0.387 0.670 +33.969 0.387 0.670 +34.219 0.387 0.670 +34.469 0.387 0.670 +34.719 0.387 0.670 +34.969 0.387 0.670 +35.219 0.387 0.670 +35.469 0.387 0.670 +35.719 0.387 0.670 +35.969 0.387 0.670 +36.219 0.387 0.670 +36.469 0.387 0.670 +36.719 0.387 0.670 +36.969 0.387 0.670 +37.219 0.387 0.670 +37.469 0.387 0.670 +37.719 0.387 0.670 +37.969 0.387 0.670 +38.219 0.387 0.670 +38.469 0.387 0.670 +38.719 0.387 0.670 +38.969 0.387 0.670 +39.219 0.387 0.670 +39.469 0.387 0.670 +39.719 0.387 0.670 +39.969 0.387 0.670 diff --git a/app/host/SBI/snrfiles/GALEX_NUV_magvsnr.txt b/app/host/SBI/snrfiles/GALEX_NUV_magvsnr.txt index 518a1950..d267bd9b 100644 --- a/app/host/SBI/snrfiles/GALEX_NUV_magvsnr.txt +++ b/app/host/SBI/snrfiles/GALEX_NUV_magvsnr.txt @@ -1,41 +1,101 @@ -17.132 104.949 -17.382 66.782 -17.632 41.550 -17.882 87.020 -18.132 39.955 -18.382 51.707 -18.632 43.578 -18.882 38.728 -19.132 42.767 -19.382 33.679 -19.632 32.440 -19.882 33.081 -20.132 33.721 -20.382 34.662 -20.632 14.149 -20.882 14.985 -21.132 18.325 -21.382 11.576 -21.632 8.577 -21.882 8.195 -22.132 16.709 -22.382 10.025 -22.632 9.107 -22.882 14.359 -23.132 4.603 -23.382 8.216 -23.632 8.824 -23.882 5.238 -24.132 1.962 -24.382 4.152 -24.632 3.315 -24.882 2.478 -25.132 2.786 -25.382 1.187 -25.632 1.225 -25.882 1.263 -26.132 1.301 -26.382 1.340 -26.632 1.378 -26.882 1.416 -27.132 0.286 +14.989 74.947 25.992 +15.239 72.787 25.517 +15.489 64.809 20.858 +15.739 60.281 24.762 +15.989 59.783 24.616 +16.239 53.931 23.721 +16.489 51.201 25.293 +16.739 48.617 23.913 +16.989 41.846 22.497 +17.239 38.094 25.014 +17.489 33.139 24.112 +17.739 32.007 23.773 +17.989 27.541 21.460 +18.239 25.309 21.306 +18.489 21.721 20.004 +18.739 19.771 19.481 +18.989 18.299 18.586 +19.239 16.279 16.839 +19.489 14.283 16.869 +19.739 12.143 14.154 +19.989 10.720 13.691 +20.239 9.386 13.587 +20.489 8.302 12.405 +20.739 7.057 11.494 +20.989 6.179 10.286 +21.239 5.500 9.417 +21.489 4.681 9.034 +21.739 4.343 9.360 +21.989 3.701 7.379 +22.239 3.125 7.306 +22.489 3.006 6.261 +22.739 2.784 6.491 +22.989 2.643 6.498 +23.239 2.749 6.073 +23.489 2.174 4.863 +23.739 1.859 4.030 +23.989 1.713 3.280 +24.239 1.361 2.997 +24.489 1.206 2.777 +24.739 0.964 2.096 +24.989 0.789 1.742 +25.239 0.620 1.626 +25.489 0.494 1.581 +25.739 0.412 1.017 +25.989 0.331 0.745 +26.239 0.331 0.745 +26.489 0.331 0.745 +26.739 0.331 0.745 +26.989 0.331 0.745 +27.239 0.331 0.745 +27.489 0.331 0.745 +27.739 0.331 0.745 +27.989 0.331 0.745 +28.239 0.331 0.745 +28.489 0.331 0.745 +28.739 0.331 0.745 +28.989 0.331 0.745 +29.239 0.331 0.745 +29.489 0.331 0.745 +29.739 0.331 0.745 +29.989 0.331 0.745 +30.239 0.331 0.745 +30.489 0.331 0.745 +30.739 0.331 0.745 +30.989 0.331 0.745 +31.239 0.331 0.745 +31.489 0.331 0.745 +31.739 0.331 0.745 +31.989 0.331 0.745 +32.239 0.331 0.745 +32.489 0.331 0.745 +32.739 0.331 0.745 +32.989 0.331 0.745 +33.239 0.331 0.745 +33.489 0.331 0.745 +33.739 0.331 0.745 +33.989 0.331 0.745 +34.239 0.331 0.745 +34.489 0.331 0.745 +34.739 0.331 0.745 +34.989 0.331 0.745 +35.239 0.331 0.745 +35.489 0.331 0.745 +35.739 0.331 0.745 +35.989 0.331 0.745 +36.239 0.331 0.745 +36.489 0.331 0.745 +36.739 0.331 0.745 +36.989 0.331 0.745 +37.239 0.331 0.745 +37.489 0.331 0.745 +37.739 0.331 0.745 +37.989 0.331 0.745 +38.239 0.331 0.745 +38.489 0.331 0.745 +38.739 0.331 0.745 +38.989 0.331 0.745 +39.239 0.331 0.745 +39.489 0.331 0.745 +39.739 0.331 0.745 +39.989 0.331 0.745 diff --git a/app/host/SBI/snrfiles/PanSTARRS_g_magvsnr.txt b/app/host/SBI/snrfiles/PanSTARRS_g_magvsnr.txt index 05d6aadd..a876d5bb 100644 --- a/app/host/SBI/snrfiles/PanSTARRS_g_magvsnr.txt +++ b/app/host/SBI/snrfiles/PanSTARRS_g_magvsnr.txt @@ -1,42 +1,110 @@ -13.083 1816.397 -13.333 1804.632 -13.583 1692.624 -13.833 1580.616 -14.083 1238.591 -14.333 1113.054 -14.583 934.062 -14.833 1182.527 -15.083 946.046 -15.333 681.405 -15.583 808.538 -15.833 651.426 -16.083 572.737 -16.333 502.708 -16.583 482.651 -16.833 428.387 -17.083 356.152 -17.333 306.005 -17.583 228.385 -17.833 294.120 -18.083 230.318 -18.333 165.480 -18.583 143.292 -18.833 155.063 -19.083 114.239 -19.333 95.372 -19.583 98.135 -19.833 81.517 -20.083 69.577 -20.333 55.760 -20.583 46.804 -20.833 39.828 -21.083 34.009 -21.333 30.690 -21.583 27.400 -21.833 26.572 -22.083 15.079 -22.333 14.387 -22.583 13.695 -22.833 13.002 -23.083 12.310 -23.333 11.618 +12.663 99.845 10.561 +12.913 99.831 10.150 +13.163 99.792 13.534 +13.413 99.749 10.787 +13.663 99.674 6.394 +13.913 99.629 11.011 +14.163 99.534 8.359 +14.413 99.430 5.807 +14.663 99.260 7.334 +14.913 99.017 7.036 +15.163 98.808 6.131 +15.413 98.435 8.927 +15.663 98.079 10.674 +15.913 97.596 7.802 +16.163 96.806 6.474 +16.413 96.069 8.071 +16.663 94.848 7.897 +16.913 93.448 8.098 +17.163 91.540 8.945 +17.413 88.788 10.593 +17.663 86.496 10.830 +17.913 83.227 11.589 +18.163 79.256 12.281 +18.413 74.536 13.884 +18.663 69.469 14.872 +18.913 63.396 14.987 +19.163 57.121 15.012 +19.413 51.760 15.269 +19.663 46.209 15.001 +19.913 40.558 14.183 +20.163 35.614 12.981 +20.413 31.197 11.258 +20.663 26.190 9.735 +20.913 20.342 8.100 +21.163 15.897 6.972 +21.413 13.497 5.610 +21.663 11.341 4.412 +21.913 9.747 3.540 +22.163 8.156 2.868 +22.413 6.725 2.340 +22.663 5.399 2.058 +22.913 4.297 1.839 +23.163 3.507 1.399 +23.413 2.758 1.164 +23.663 2.202 0.978 +23.913 1.939 0.935 +24.163 1.392 0.613 +24.413 1.164 0.450 +24.663 0.897 0.337 +24.913 0.897 0.337 +25.163 0.897 0.337 +25.413 0.897 0.337 +25.663 0.897 0.337 +25.913 0.897 0.337 +26.163 0.897 0.337 +26.413 0.897 0.337 +26.663 0.897 0.337 +26.913 0.897 0.337 +27.163 0.897 0.337 +27.413 0.897 0.337 +27.663 0.897 0.337 +27.913 0.897 0.337 +28.163 0.897 0.337 +28.413 0.897 0.337 +28.663 0.897 0.337 +28.913 0.897 0.337 +29.163 0.897 0.337 +29.413 0.897 0.337 +29.663 0.897 0.337 +29.913 0.897 0.337 +30.163 0.897 0.337 +30.413 0.897 0.337 +30.663 0.897 0.337 +30.913 0.897 0.337 +31.163 0.897 0.337 +31.413 0.897 0.337 +31.663 0.897 0.337 +31.913 0.897 0.337 +32.163 0.897 0.337 +32.413 0.897 0.337 +32.663 0.897 0.337 +32.913 0.897 0.337 +33.163 0.897 0.337 +33.413 0.897 0.337 +33.663 0.897 0.337 +33.913 0.897 0.337 +34.163 0.897 0.337 +34.413 0.897 0.337 +34.663 0.897 0.337 +34.913 0.897 0.337 +35.163 0.897 0.337 +35.413 0.897 0.337 +35.663 0.897 0.337 +35.913 0.897 0.337 +36.163 0.897 0.337 +36.413 0.897 0.337 +36.663 0.897 0.337 +36.913 0.897 0.337 +37.163 0.897 0.337 +37.413 0.897 0.337 +37.663 0.897 0.337 +37.913 0.897 0.337 +38.163 0.897 0.337 +38.413 0.897 0.337 +38.663 0.897 0.337 +38.913 0.897 0.337 +39.163 0.897 0.337 +39.413 0.897 0.337 +39.663 0.897 0.337 +39.913 0.897 0.337 diff --git a/app/host/SBI/snrfiles/PanSTARRS_i_magvsnr.txt b/app/host/SBI/snrfiles/PanSTARRS_i_magvsnr.txt index c56d88a2..dc3393d0 100644 --- a/app/host/SBI/snrfiles/PanSTARRS_i_magvsnr.txt +++ b/app/host/SBI/snrfiles/PanSTARRS_i_magvsnr.txt @@ -1,38 +1,49 @@ -12.265 3263.131 -12.515 2500.063 -12.765 2768.057 -13.015 2803.113 -13.265 2195.514 -13.515 2092.378 -13.765 2526.691 -14.015 1568.585 -14.265 1240.408 -14.515 1788.709 -14.765 1278.834 -15.015 1309.244 -15.265 877.523 -15.515 866.484 -15.765 837.605 -16.015 814.952 -16.265 560.307 -16.515 524.885 -16.765 501.233 -17.015 451.916 -17.265 368.273 -17.515 346.580 -17.765 249.223 -18.015 244.013 -18.265 233.799 -18.515 160.425 -18.765 177.281 -19.015 101.225 -19.265 113.575 -19.515 86.084 -19.765 79.387 -20.015 64.853 -20.265 52.716 -20.515 55.557 -20.765 38.368 -21.015 40.815 -21.265 39.449 -21.515 34.699 +11.855 99.912 5.436 +12.105 99.917 0.403 +12.355 99.931 1.655 +12.605 99.913 5.180 +12.855 99.898 4.291 +13.105 99.883 4.782 +13.355 99.867 2.512 +13.605 99.837 5.621 +13.855 99.764 3.798 +14.105 99.715 4.175 +14.355 99.616 2.496 +14.605 99.552 5.953 +14.855 99.421 4.276 +15.105 99.294 3.279 +15.355 99.051 4.568 +15.605 98.717 4.312 +15.855 98.419 5.413 +16.105 97.896 4.286 +16.355 97.266 4.784 +16.605 96.523 5.912 +16.855 95.512 6.010 +17.105 94.029 8.052 +17.355 92.468 8.448 +17.605 90.449 9.229 +17.855 87.643 10.898 +18.105 84.275 11.864 +18.355 80.158 13.028 +18.605 75.714 14.446 +18.855 68.622 15.615 +19.105 62.377 16.489 +19.355 55.636 16.812 +19.605 49.545 16.060 +19.855 42.276 15.331 +20.105 36.351 13.870 +20.355 29.522 11.795 +20.605 25.342 10.605 +20.855 20.573 8.574 +21.105 17.439 7.495 +21.355 14.984 5.918 +21.605 12.534 5.047 +21.855 10.617 4.379 +22.105 8.964 3.411 +22.355 7.186 2.888 +22.605 5.507 2.252 +22.855 4.363 1.787 +23.105 3.462 1.422 +23.355 2.875 1.187 +23.605 2.521 1.050 +23.855 1.656 0.693 diff --git a/app/host/SBI/snrfiles/PanSTARRS_r_magvsnr.txt b/app/host/SBI/snrfiles/PanSTARRS_r_magvsnr.txt index 02d0d546..609da940 100644 --- a/app/host/SBI/snrfiles/PanSTARRS_r_magvsnr.txt +++ b/app/host/SBI/snrfiles/PanSTARRS_r_magvsnr.txt @@ -1,40 +1,49 @@ -12.358 2631.265 -12.608 2907.569 -12.858 2617.053 -13.108 2326.538 -13.358 2606.377 -13.608 1765.747 -13.858 1556.996 -14.108 1669.835 -14.358 1408.436 -14.608 1108.200 -14.858 1387.527 -15.108 992.778 -15.358 1116.654 -15.608 758.910 -15.858 639.770 -16.108 755.693 -16.358 593.008 -16.608 447.057 -16.858 382.013 -17.108 381.960 -17.358 369.867 -17.608 300.776 -17.858 231.685 -18.108 200.068 -18.358 218.117 -18.608 160.979 -18.858 149.169 -19.108 140.760 -19.358 92.559 -19.608 98.273 -19.858 75.177 -20.108 57.984 -20.358 63.477 -20.608 56.354 -20.858 35.442 -21.108 39.512 -21.358 24.827 -21.608 19.557 -21.858 36.308 -22.108 22.217 +11.820 99.880 11.313 +12.070 99.899 8.181 +12.320 99.909 0.505 +12.570 99.900 5.159 +12.820 99.885 1.039 +13.070 99.842 9.450 +13.320 99.838 9.019 +13.570 99.789 7.954 +13.820 99.766 6.606 +14.070 99.633 2.355 +14.320 99.604 3.278 +14.570 99.466 6.939 +14.820 99.317 6.013 +15.070 99.182 5.541 +15.320 98.955 4.473 +15.570 98.621 5.722 +15.820 98.209 6.555 +16.070 97.705 4.592 +16.320 97.066 5.711 +16.570 95.939 6.519 +16.820 94.780 7.196 +17.070 93.436 7.162 +17.320 91.785 8.308 +17.570 89.438 9.736 +17.820 86.628 10.886 +18.070 83.472 12.579 +18.320 78.157 13.118 +18.570 73.625 13.942 +18.820 68.755 14.820 +19.070 62.765 15.920 +19.320 55.649 16.178 +19.570 49.742 15.768 +19.820 43.486 14.966 +20.070 37.225 13.960 +20.320 30.979 12.377 +20.570 25.640 10.788 +20.820 21.151 8.867 +21.070 17.420 7.556 +21.320 14.296 6.049 +21.570 12.054 4.933 +21.820 10.278 4.033 +22.070 8.907 3.423 +22.320 7.455 2.924 +22.570 5.815 2.294 +22.820 4.852 2.309 +23.070 3.814 1.687 +23.320 3.046 1.390 +23.570 2.405 1.307 +23.820 1.950 0.799 diff --git a/app/host/SBI/snrfiles/PanSTARRS_y_magvsnr.txt b/app/host/SBI/snrfiles/PanSTARRS_y_magvsnr.txt index 953ff904..eaeff36a 100644 --- a/app/host/SBI/snrfiles/PanSTARRS_y_magvsnr.txt +++ b/app/host/SBI/snrfiles/PanSTARRS_y_magvsnr.txt @@ -1,44 +1,115 @@ -12.039 902.098 -12.289 823.899 -12.539 776.054 -12.789 890.464 -13.039 639.816 -13.289 728.412 -13.539 588.615 -13.789 439.420 -14.039 535.072 -14.289 407.813 -14.539 383.396 -14.789 328.718 -15.039 367.699 -15.289 238.024 -15.539 252.160 -15.789 200.699 -16.039 157.084 -16.289 167.880 -16.539 141.717 -16.789 107.414 -17.039 103.129 -17.289 82.735 -17.539 71.061 -17.789 65.141 -18.039 45.932 -18.289 52.535 -18.539 38.323 -18.789 28.730 -19.039 29.652 -19.289 22.043 -19.539 19.934 -19.789 20.146 -20.039 12.408 -20.289 13.348 -20.539 8.204 -20.789 12.074 -21.039 10.782 -21.289 9.570 -21.539 8.358 -21.789 7.147 -22.039 5.935 -22.289 4.723 -22.539 3.449 -22.789 2.175 +11.263 99.727 5.726 +11.513 99.680 10.813 +11.763 99.580 5.845 +12.013 99.503 1.972 +12.263 99.278 0.882 +12.513 99.157 4.857 +12.763 98.868 2.379 +13.013 98.564 2.985 +13.263 98.075 3.609 +13.513 97.579 4.141 +13.763 96.876 6.511 +14.013 96.042 5.652 +14.263 95.222 6.856 +14.513 94.184 6.384 +14.763 92.959 7.411 +15.013 90.452 8.855 +15.263 88.282 9.817 +15.513 85.503 10.642 +15.763 81.116 12.310 +16.013 76.620 13.442 +16.263 72.443 14.564 +16.513 67.647 15.633 +16.763 61.626 16.706 +17.013 56.562 17.759 +17.263 51.683 18.030 +17.513 45.628 18.014 +17.763 39.730 17.032 +18.013 35.292 16.404 +18.263 29.850 15.176 +18.513 25.217 13.159 +18.763 21.651 11.241 +19.013 18.607 9.797 +19.263 15.735 8.187 +19.513 13.225 6.677 +19.763 10.988 5.530 +20.013 9.147 4.542 +20.263 7.431 3.685 +20.513 6.215 2.858 +20.763 5.238 2.329 +21.013 4.350 1.887 +21.263 3.552 1.576 +21.513 3.032 1.265 +21.763 2.433 1.007 +22.013 2.011 0.823 +22.263 1.594 0.657 +22.513 1.323 0.578 +22.763 1.059 0.428 +23.013 0.757 0.320 +23.263 0.698 0.283 +23.513 0.553 0.210 +23.763 0.440 0.176 +24.013 0.440 0.176 +24.263 0.440 0.176 +24.513 0.440 0.176 +24.763 0.440 0.176 +25.013 0.440 0.176 +25.263 0.440 0.176 +25.513 0.440 0.176 +25.763 0.440 0.176 +26.013 0.440 0.176 +26.263 0.440 0.176 +26.513 0.440 0.176 +26.763 0.440 0.176 +27.013 0.440 0.176 +27.263 0.440 0.176 +27.513 0.440 0.176 +27.763 0.440 0.176 +28.013 0.440 0.176 +28.263 0.440 0.176 +28.513 0.440 0.176 +28.763 0.440 0.176 +29.013 0.440 0.176 +29.263 0.440 0.176 +29.513 0.440 0.176 +29.763 0.440 0.176 +30.013 0.440 0.176 +30.263 0.440 0.176 +30.513 0.440 0.176 +30.763 0.440 0.176 +31.013 0.440 0.176 +31.263 0.440 0.176 +31.513 0.440 0.176 +31.763 0.440 0.176 +32.013 0.440 0.176 +32.263 0.440 0.176 +32.513 0.440 0.176 +32.763 0.440 0.176 +33.013 0.440 0.176 +33.263 0.440 0.176 +33.513 0.440 0.176 +33.763 0.440 0.176 +34.013 0.440 0.176 +34.263 0.440 0.176 +34.513 0.440 0.176 +34.763 0.440 0.176 +35.013 0.440 0.176 +35.263 0.440 0.176 +35.513 0.440 0.176 +35.763 0.440 0.176 +36.013 0.440 0.176 +36.263 0.440 0.176 +36.513 0.440 0.176 +36.763 0.440 0.176 +37.013 0.440 0.176 +37.263 0.440 0.176 +37.513 0.440 0.176 +37.763 0.440 0.176 +38.013 0.440 0.176 +38.263 0.440 0.176 +38.513 0.440 0.176 +38.763 0.440 0.176 +39.013 0.440 0.176 +39.263 0.440 0.176 +39.513 0.440 0.176 +39.763 0.440 0.176 diff --git a/app/host/SBI/snrfiles/PanSTARRS_z_magvsnr.txt b/app/host/SBI/snrfiles/PanSTARRS_z_magvsnr.txt index 7adeb0de..73842cbc 100644 --- a/app/host/SBI/snrfiles/PanSTARRS_z_magvsnr.txt +++ b/app/host/SBI/snrfiles/PanSTARRS_z_magvsnr.txt @@ -1,37 +1,114 @@ -12.239 1816.051 -12.489 1579.939 -12.739 1498.990 -12.989 1771.086 -13.239 1134.047 -13.489 1366.779 -13.739 1034.712 -13.989 732.335 -14.239 1009.289 -14.489 714.963 -14.739 825.701 -14.989 634.964 -15.239 507.439 -15.489 516.615 -15.739 465.358 -15.989 403.622 -16.239 291.560 -16.489 313.410 -16.739 268.340 -16.989 230.473 -17.239 191.684 -17.489 153.529 -17.739 138.912 -17.989 119.081 -18.239 105.602 -18.489 98.028 -18.739 79.078 -18.989 62.257 -19.239 52.037 -19.489 42.552 -19.739 42.116 -19.989 33.592 -20.239 31.027 -20.489 21.277 -20.739 17.550 -20.989 24.915 -21.239 19.468 +11.612 99.877 2.717 +11.862 99.864 0.902 +12.112 99.853 1.535 +12.362 99.819 1.540 +12.612 99.752 3.570 +12.862 99.716 4.126 +13.112 99.616 2.259 +13.362 99.567 3.184 +13.612 99.335 3.746 +13.862 99.148 4.905 +14.112 98.973 4.494 +14.362 98.724 5.123 +14.612 98.403 4.805 +14.862 98.055 4.113 +15.112 97.518 4.295 +15.362 96.639 4.968 +15.612 95.654 5.538 +15.862 94.428 6.979 +16.112 92.715 7.630 +16.362 90.676 8.313 +16.612 88.619 9.482 +16.862 85.303 10.424 +17.112 81.780 12.534 +17.362 77.764 13.481 +17.612 72.623 14.465 +17.862 66.487 15.696 +18.112 61.427 15.991 +18.362 55.805 16.428 +18.612 48.935 16.278 +18.862 42.857 15.705 +19.112 36.469 14.540 +19.362 31.723 13.163 +19.612 26.781 11.722 +19.862 22.246 9.814 +20.112 18.909 8.282 +20.362 15.537 6.862 +20.612 12.457 5.409 +20.862 10.471 4.474 +21.112 8.970 3.649 +21.362 7.507 2.886 +21.612 6.357 2.390 +21.862 5.329 1.957 +22.112 4.364 1.553 +22.362 3.401 1.283 +22.612 2.848 0.967 +22.862 2.297 0.841 +23.112 1.868 0.694 +23.362 1.341 0.543 +23.612 1.043 0.457 +23.862 1.043 0.457 +24.112 1.043 0.457 +24.362 1.043 0.457 +24.612 1.043 0.457 +24.862 1.043 0.457 +25.112 1.043 0.457 +25.362 1.043 0.457 +25.612 1.043 0.457 +25.862 1.043 0.457 +26.112 1.043 0.457 +26.362 1.043 0.457 +26.612 1.043 0.457 +26.862 1.043 0.457 +27.112 1.043 0.457 +27.362 1.043 0.457 +27.612 1.043 0.457 +27.862 1.043 0.457 +28.112 1.043 0.457 +28.362 1.043 0.457 +28.612 1.043 0.457 +28.862 1.043 0.457 +29.112 1.043 0.457 +29.362 1.043 0.457 +29.612 1.043 0.457 +29.862 1.043 0.457 +30.112 1.043 0.457 +30.362 1.043 0.457 +30.612 1.043 0.457 +30.862 1.043 0.457 +31.112 1.043 0.457 +31.362 1.043 0.457 +31.612 1.043 0.457 +31.862 1.043 0.457 +32.112 1.043 0.457 +32.362 1.043 0.457 +32.612 1.043 0.457 +32.862 1.043 0.457 +33.112 1.043 0.457 +33.362 1.043 0.457 +33.612 1.043 0.457 +33.862 1.043 0.457 +34.112 1.043 0.457 +34.362 1.043 0.457 +34.612 1.043 0.457 +34.862 1.043 0.457 +35.112 1.043 0.457 +35.362 1.043 0.457 +35.612 1.043 0.457 +35.862 1.043 0.457 +36.112 1.043 0.457 +36.362 1.043 0.457 +36.612 1.043 0.457 +36.862 1.043 0.457 +37.112 1.043 0.457 +37.362 1.043 0.457 +37.612 1.043 0.457 +37.862 1.043 0.457 +38.112 1.043 0.457 +38.362 1.043 0.457 +38.612 1.043 0.457 +38.862 1.043 0.457 +39.112 1.043 0.457 +39.362 1.043 0.457 +39.612 1.043 0.457 +39.862 1.043 0.457 diff --git a/app/host/SBI/snrfiles/SDSS_g_magvsnr.txt b/app/host/SBI/snrfiles/SDSS_g_magvsnr.txt index 752a9027..cbf4a674 100644 --- a/app/host/SBI/snrfiles/SDSS_g_magvsnr.txt +++ b/app/host/SBI/snrfiles/SDSS_g_magvsnr.txt @@ -1,34 +1,108 @@ -14.171 320.459 -14.421 277.370 -14.671 250.209 -14.921 223.221 -15.171 206.050 -15.421 177.197 -15.671 167.197 -15.921 144.895 -16.171 126.240 -16.421 114.309 -16.671 101.213 -16.921 90.979 -17.171 74.832 -17.421 70.992 -17.671 64.106 -17.921 57.258 -18.171 50.049 -18.421 42.308 -18.671 38.576 -18.921 34.578 -19.171 30.876 -19.421 27.397 -19.671 25.134 -19.921 21.651 -20.171 19.707 -20.421 17.083 -20.671 14.270 -20.921 12.810 -21.171 11.349 -21.421 9.581 -21.671 8.652 -21.921 7.605 -22.171 6.557 -22.421 5.692 +13.207 97.608 1.489 +13.457 97.033 10.230 +13.707 96.357 2.099 +13.957 95.675 6.857 +14.207 94.666 2.941 +14.457 93.292 4.338 +14.707 91.816 3.710 +14.957 90.304 3.827 +15.207 88.027 4.699 +15.457 85.531 5.994 +15.707 82.581 4.946 +15.957 79.419 5.578 +16.207 75.844 6.690 +16.457 72.287 4.998 +16.707 67.657 6.247 +16.957 63.344 4.976 +17.207 58.790 5.705 +17.457 54.183 4.583 +17.707 49.821 4.964 +17.957 45.224 4.284 +18.207 41.071 4.240 +18.457 37.011 3.883 +18.707 33.460 3.558 +18.957 29.634 3.515 +19.207 26.296 3.306 +19.457 23.661 3.007 +19.707 20.806 2.985 +19.957 18.352 2.735 +20.207 16.005 2.566 +20.457 13.922 2.376 +20.707 12.040 2.201 +20.957 10.223 1.917 +21.207 8.638 1.812 +21.457 7.287 1.552 +21.707 6.176 1.358 +21.957 5.253 1.113 +22.207 4.468 1.048 +22.457 3.826 0.889 +22.707 3.063 0.742 +22.957 2.461 0.632 +23.207 2.038 0.576 +23.457 1.647 0.419 +23.707 1.375 0.417 +23.957 1.117 0.341 +24.207 0.847 0.228 +24.457 0.847 0.228 +24.707 0.847 0.228 +24.957 0.847 0.228 +25.207 0.847 0.228 +25.457 0.847 0.228 +25.707 0.847 0.228 +25.957 0.847 0.228 +26.207 0.847 0.228 +26.457 0.847 0.228 +26.707 0.847 0.228 +26.957 0.847 0.228 +27.207 0.847 0.228 +27.457 0.847 0.228 +27.707 0.847 0.228 +27.957 0.847 0.228 +28.207 0.847 0.228 +28.457 0.847 0.228 +28.707 0.847 0.228 +28.957 0.847 0.228 +29.207 0.847 0.228 +29.457 0.847 0.228 +29.707 0.847 0.228 +29.957 0.847 0.228 +30.207 0.847 0.228 +30.457 0.847 0.228 +30.707 0.847 0.228 +30.957 0.847 0.228 +31.207 0.847 0.228 +31.457 0.847 0.228 +31.707 0.847 0.228 +31.957 0.847 0.228 +32.207 0.847 0.228 +32.457 0.847 0.228 +32.707 0.847 0.228 +32.957 0.847 0.228 +33.207 0.847 0.228 +33.457 0.847 0.228 +33.707 0.847 0.228 +33.957 0.847 0.228 +34.207 0.847 0.228 +34.457 0.847 0.228 +34.707 0.847 0.228 +34.957 0.847 0.228 +35.207 0.847 0.228 +35.457 0.847 0.228 +35.707 0.847 0.228 +35.957 0.847 0.228 +36.207 0.847 0.228 +36.457 0.847 0.228 +36.707 0.847 0.228 +36.957 0.847 0.228 +37.207 0.847 0.228 +37.457 0.847 0.228 +37.707 0.847 0.228 +37.957 0.847 0.228 +38.207 0.847 0.228 +38.457 0.847 0.228 +38.707 0.847 0.228 +38.957 0.847 0.228 +39.207 0.847 0.228 +39.457 0.847 0.228 +39.707 0.847 0.228 +39.957 0.847 0.228 diff --git a/app/host/SBI/snrfiles/SDSS_i_magvsnr.txt b/app/host/SBI/snrfiles/SDSS_i_magvsnr.txt index 2808d971..2f40be04 100644 --- a/app/host/SBI/snrfiles/SDSS_i_magvsnr.txt +++ b/app/host/SBI/snrfiles/SDSS_i_magvsnr.txt @@ -1,34 +1,112 @@ -12.891 510.577 -13.141 469.398 -13.391 398.071 -13.641 365.095 -13.891 344.057 -14.141 292.944 -14.391 276.183 -14.641 253.859 -14.891 216.827 -15.141 197.841 -15.391 169.604 -15.641 151.986 -15.891 133.225 -16.141 128.252 -16.391 101.205 -16.641 94.192 -16.891 80.591 -17.141 73.671 -17.391 64.609 -17.641 56.486 -17.891 48.863 -18.141 45.051 -18.391 40.223 -18.641 36.843 -18.891 29.008 -19.141 27.686 -19.391 23.375 -19.641 20.744 -19.891 18.410 -20.141 15.534 -20.391 14.094 -20.641 12.655 -20.891 11.263 -21.141 9.872 +12.248 98.684 1.478 +12.498 98.711 1.346 +12.748 98.396 1.012 +12.998 97.978 1.136 +13.248 97.399 1.730 +13.498 96.954 3.671 +13.748 95.984 3.370 +13.998 95.011 3.804 +14.248 93.957 2.651 +14.498 92.576 4.778 +14.748 90.747 3.365 +14.998 88.724 4.444 +15.248 86.645 6.295 +15.498 83.646 5.315 +15.748 80.560 4.599 +15.998 77.055 5.816 +16.248 72.851 5.682 +16.498 68.555 6.119 +16.748 64.113 5.855 +16.998 59.253 5.987 +17.248 54.325 6.455 +17.498 49.392 6.062 +17.748 44.930 5.741 +17.998 40.031 5.513 +18.248 35.692 5.435 +18.498 32.195 5.316 +18.748 27.968 4.942 +18.998 24.239 4.811 +19.248 21.124 4.395 +19.498 18.299 3.911 +19.748 15.735 3.645 +19.998 13.395 3.289 +20.248 11.043 2.895 +20.498 9.195 2.484 +20.748 7.839 2.117 +20.998 6.498 1.858 +21.248 5.516 1.544 +21.498 4.758 1.344 +21.748 3.878 1.100 +21.998 3.156 0.952 +22.248 2.580 0.842 +22.498 2.022 0.690 +22.748 1.741 0.517 +22.998 1.415 0.428 +23.248 1.415 0.428 +23.498 1.415 0.428 +23.748 1.415 0.428 +23.998 1.415 0.428 +24.248 1.415 0.428 +24.498 1.415 0.428 +24.748 1.415 0.428 +24.998 1.415 0.428 +25.248 1.415 0.428 +25.498 1.415 0.428 +25.748 1.415 0.428 +25.998 1.415 0.428 +26.248 1.415 0.428 +26.498 1.415 0.428 +26.748 1.415 0.428 +26.998 1.415 0.428 +27.248 1.415 0.428 +27.498 1.415 0.428 +27.748 1.415 0.428 +27.998 1.415 0.428 +28.248 1.415 0.428 +28.498 1.415 0.428 +28.748 1.415 0.428 +28.998 1.415 0.428 +29.248 1.415 0.428 +29.498 1.415 0.428 +29.748 1.415 0.428 +29.998 1.415 0.428 +30.248 1.415 0.428 +30.498 1.415 0.428 +30.748 1.415 0.428 +30.998 1.415 0.428 +31.248 1.415 0.428 +31.498 1.415 0.428 +31.748 1.415 0.428 +31.998 1.415 0.428 +32.248 1.415 0.428 +32.498 1.415 0.428 +32.748 1.415 0.428 +32.998 1.415 0.428 +33.248 1.415 0.428 +33.498 1.415 0.428 +33.748 1.415 0.428 +33.998 1.415 0.428 +34.248 1.415 0.428 +34.498 1.415 0.428 +34.748 1.415 0.428 +34.998 1.415 0.428 +35.248 1.415 0.428 +35.498 1.415 0.428 +35.748 1.415 0.428 +35.998 1.415 0.428 +36.248 1.415 0.428 +36.498 1.415 0.428 +36.748 1.415 0.428 +36.998 1.415 0.428 +37.248 1.415 0.428 +37.498 1.415 0.428 +37.748 1.415 0.428 +37.998 1.415 0.428 +38.248 1.415 0.428 +38.498 1.415 0.428 +38.748 1.415 0.428 +38.998 1.415 0.428 +39.248 1.415 0.428 +39.498 1.415 0.428 +39.748 1.415 0.428 +39.998 1.415 0.428 diff --git a/app/host/SBI/snrfiles/SDSS_r_magvsnr.txt b/app/host/SBI/snrfiles/SDSS_r_magvsnr.txt index 05f2ec34..9cb41bbd 100644 --- a/app/host/SBI/snrfiles/SDSS_r_magvsnr.txt +++ b/app/host/SBI/snrfiles/SDSS_r_magvsnr.txt @@ -1,35 +1,110 @@ -13.464 426.609 -13.714 383.957 -13.964 336.035 -14.214 315.580 -14.464 276.271 -14.714 247.280 -14.964 221.881 -15.214 199.554 -15.464 174.376 -15.714 155.712 -15.964 139.547 -16.214 122.530 -16.464 109.725 -16.714 95.082 -16.964 87.702 -17.214 74.689 -17.464 68.954 -17.714 59.335 -17.964 50.392 -18.214 47.793 -18.464 41.991 -18.714 36.341 -18.964 33.509 -19.214 28.201 -19.464 26.647 -19.714 22.223 -19.964 19.113 -20.214 17.072 -20.464 15.032 -20.714 12.883 -20.964 12.683 -21.214 10.437 -21.464 9.592 -21.714 8.748 -21.964 6.734 +12.686 98.483 1.415 +12.936 98.187 1.493 +13.186 97.762 1.107 +13.436 97.274 1.658 +13.686 96.510 2.925 +13.936 95.839 5.549 +14.186 94.679 3.318 +14.436 93.480 5.377 +14.686 92.158 7.025 +14.936 90.330 5.397 +15.186 88.030 5.617 +15.436 85.791 3.613 +15.686 82.950 4.648 +15.936 79.708 4.001 +16.186 76.047 4.120 +16.436 71.931 5.936 +16.686 67.719 5.447 +16.936 63.248 5.052 +17.186 58.541 4.476 +17.436 53.975 4.593 +17.686 49.284 4.242 +17.936 45.009 4.358 +18.186 40.374 4.309 +18.436 36.356 3.927 +18.686 32.502 3.845 +18.936 29.053 3.717 +19.186 25.735 3.697 +19.436 22.352 3.404 +19.686 19.666 3.270 +19.936 17.150 3.037 +20.186 14.902 2.862 +20.436 12.516 2.570 +20.686 10.574 2.221 +20.936 8.990 1.965 +21.186 7.636 1.764 +21.436 6.455 1.480 +21.686 5.498 1.356 +21.936 4.578 1.141 +22.186 3.697 0.951 +22.436 3.134 0.855 +22.686 2.605 0.696 +22.936 2.119 0.539 +23.186 1.730 0.526 +23.436 1.297 0.455 +23.686 1.297 0.455 +23.936 1.297 0.455 +24.186 1.297 0.455 +24.436 1.297 0.455 +24.686 1.297 0.455 +24.936 1.297 0.455 +25.186 1.297 0.455 +25.436 1.297 0.455 +25.686 1.297 0.455 +25.936 1.297 0.455 +26.186 1.297 0.455 +26.436 1.297 0.455 +26.686 1.297 0.455 +26.936 1.297 0.455 +27.186 1.297 0.455 +27.436 1.297 0.455 +27.686 1.297 0.455 +27.936 1.297 0.455 +28.186 1.297 0.455 +28.436 1.297 0.455 +28.686 1.297 0.455 +28.936 1.297 0.455 +29.186 1.297 0.455 +29.436 1.297 0.455 +29.686 1.297 0.455 +29.936 1.297 0.455 +30.186 1.297 0.455 +30.436 1.297 0.455 +30.686 1.297 0.455 +30.936 1.297 0.455 +31.186 1.297 0.455 +31.436 1.297 0.455 +31.686 1.297 0.455 +31.936 1.297 0.455 +32.186 1.297 0.455 +32.436 1.297 0.455 +32.686 1.297 0.455 +32.936 1.297 0.455 +33.186 1.297 0.455 +33.436 1.297 0.455 +33.686 1.297 0.455 +33.936 1.297 0.455 +34.186 1.297 0.455 +34.436 1.297 0.455 +34.686 1.297 0.455 +34.936 1.297 0.455 +35.186 1.297 0.455 +35.436 1.297 0.455 +35.686 1.297 0.455 +35.936 1.297 0.455 +36.186 1.297 0.455 +36.436 1.297 0.455 +36.686 1.297 0.455 +36.936 1.297 0.455 +37.186 1.297 0.455 +37.436 1.297 0.455 +37.686 1.297 0.455 +37.936 1.297 0.455 +38.186 1.297 0.455 +38.436 1.297 0.455 +38.686 1.297 0.455 +38.936 1.297 0.455 +39.186 1.297 0.455 +39.436 1.297 0.455 +39.686 1.297 0.455 +39.936 1.297 0.455 diff --git a/app/host/SBI/snrfiles/SDSS_u_magvsnr.txt b/app/host/SBI/snrfiles/SDSS_u_magvsnr.txt index 1211fafc..9629ba5d 100644 --- a/app/host/SBI/snrfiles/SDSS_u_magvsnr.txt +++ b/app/host/SBI/snrfiles/SDSS_u_magvsnr.txt @@ -1,32 +1,101 @@ -15.472 100.880 -15.722 70.351 -15.972 83.389 -16.222 62.216 -16.472 59.710 -16.722 53.628 -16.972 55.468 -17.222 42.721 -17.472 38.782 -17.722 35.022 -17.972 27.915 -18.222 29.218 -18.472 28.836 -18.722 24.175 -18.972 22.590 -19.222 18.918 -19.472 14.276 -19.722 12.107 -19.972 13.035 -20.222 10.369 -20.472 7.561 -20.722 7.829 -20.972 6.816 -21.222 6.271 -21.472 5.207 -21.722 4.501 -21.972 3.371 -22.222 3.240 -22.472 3.049 -22.722 2.859 -22.972 2.066 -23.222 1.592 +14.912 77.320 15.453 +15.162 71.629 13.848 +15.412 65.329 13.238 +15.662 60.832 13.252 +15.912 58.269 13.030 +16.162 51.641 12.462 +16.412 49.311 11.165 +16.662 43.702 11.873 +16.912 40.419 11.125 +17.162 34.575 10.660 +17.412 32.987 10.620 +17.662 28.610 9.673 +17.912 25.575 8.794 +18.162 22.715 7.829 +18.412 19.723 7.200 +18.662 17.361 6.622 +18.912 15.489 5.958 +19.162 13.423 5.393 +19.412 11.588 4.698 +19.662 10.063 4.002 +19.912 8.761 3.595 +20.162 7.474 3.023 +20.412 6.512 2.474 +20.662 5.573 2.153 +20.912 4.733 1.807 +21.162 4.075 1.535 +21.412 3.460 1.236 +21.662 2.860 1.001 +21.912 2.359 0.858 +22.162 1.891 0.681 +22.412 1.577 0.556 +22.662 1.287 0.465 +22.912 1.070 0.392 +23.162 0.836 0.327 +23.412 0.651 0.268 +23.662 0.512 0.197 +23.912 0.406 0.163 +24.162 0.330 0.124 +24.412 0.255 0.102 +24.662 0.193 0.092 +24.912 0.157 0.054 +25.162 0.157 0.054 +25.412 0.157 0.054 +25.662 0.157 0.054 +25.912 0.157 0.054 +26.162 0.157 0.054 +26.412 0.157 0.054 +26.662 0.157 0.054 +26.912 0.157 0.054 +27.162 0.157 0.054 +27.412 0.157 0.054 +27.662 0.157 0.054 +27.912 0.157 0.054 +28.162 0.157 0.054 +28.412 0.157 0.054 +28.662 0.157 0.054 +28.912 0.157 0.054 +29.162 0.157 0.054 +29.412 0.157 0.054 +29.662 0.157 0.054 +29.912 0.157 0.054 +30.162 0.157 0.054 +30.412 0.157 0.054 +30.662 0.157 0.054 +30.912 0.157 0.054 +31.162 0.157 0.054 +31.412 0.157 0.054 +31.662 0.157 0.054 +31.912 0.157 0.054 +32.162 0.157 0.054 +32.412 0.157 0.054 +32.662 0.157 0.054 +32.912 0.157 0.054 +33.162 0.157 0.054 +33.412 0.157 0.054 +33.662 0.157 0.054 +33.912 0.157 0.054 +34.162 0.157 0.054 +34.412 0.157 0.054 +34.662 0.157 0.054 +34.912 0.157 0.054 +35.162 0.157 0.054 +35.412 0.157 0.054 +35.662 0.157 0.054 +35.912 0.157 0.054 +36.162 0.157 0.054 +36.412 0.157 0.054 +36.662 0.157 0.054 +36.912 0.157 0.054 +37.162 0.157 0.054 +37.412 0.157 0.054 +37.662 0.157 0.054 +37.912 0.157 0.054 +38.162 0.157 0.054 +38.412 0.157 0.054 +38.662 0.157 0.054 +38.912 0.157 0.054 +39.162 0.157 0.054 +39.412 0.157 0.054 +39.662 0.157 0.054 +39.912 0.157 0.054 diff --git a/app/host/SBI/snrfiles/SDSS_z_magvsnr.txt b/app/host/SBI/snrfiles/SDSS_z_magvsnr.txt index 14b09577..33615043 100644 --- a/app/host/SBI/snrfiles/SDSS_z_magvsnr.txt +++ b/app/host/SBI/snrfiles/SDSS_z_magvsnr.txt @@ -1,35 +1,112 @@ -12.587 344.298 -12.837 347.120 -13.087 281.064 -13.337 262.167 -13.587 226.162 -13.837 190.157 -14.087 200.053 -14.337 183.171 -14.587 163.299 -14.837 175.851 -15.087 123.774 -15.337 108.292 -15.587 110.638 -15.837 85.414 -16.087 70.256 -16.337 63.651 -16.587 53.619 -16.837 50.238 -17.087 43.748 -17.337 33.677 -17.587 29.818 -17.837 28.311 -18.087 23.905 -18.337 20.654 -18.587 23.096 -18.837 14.009 -19.087 15.178 -19.337 11.158 -19.587 8.050 -19.837 10.615 -20.087 5.601 -20.337 5.399 -20.587 6.099 -20.837 3.018 -21.087 5.603 +12.201 97.429 2.429 +12.451 96.646 2.716 +12.701 95.998 2.615 +12.951 94.928 3.921 +13.201 93.551 5.297 +13.451 91.997 5.345 +13.701 88.939 7.917 +13.951 87.105 8.206 +14.201 83.532 8.949 +14.451 79.610 9.976 +14.701 77.635 10.484 +14.951 74.043 11.836 +15.201 68.713 12.269 +15.451 63.934 13.152 +15.701 58.335 13.424 +15.951 52.877 13.291 +16.201 46.747 13.173 +16.451 42.810 13.268 +16.701 36.996 12.538 +16.951 32.857 11.806 +17.201 28.837 10.552 +17.451 24.998 10.073 +17.701 21.278 8.573 +17.951 18.630 7.598 +18.201 16.272 6.743 +18.451 13.557 5.779 +18.701 11.519 4.726 +18.951 9.592 4.017 +19.201 8.052 3.377 +19.451 6.691 2.790 +19.701 5.669 2.299 +19.951 4.757 1.865 +20.201 3.927 1.568 +20.451 3.292 1.231 +20.701 2.659 1.014 +20.951 2.150 0.854 +21.201 1.834 0.682 +21.451 1.453 0.539 +21.701 1.139 0.465 +21.951 0.964 0.382 +22.201 0.788 0.283 +22.451 0.553 0.267 +22.701 0.505 0.187 +22.951 0.398 0.152 +23.201 0.398 0.152 +23.451 0.398 0.152 +23.701 0.398 0.152 +23.951 0.398 0.152 +24.201 0.398 0.152 +24.451 0.398 0.152 +24.701 0.398 0.152 +24.951 0.398 0.152 +25.201 0.398 0.152 +25.451 0.398 0.152 +25.701 0.398 0.152 +25.951 0.398 0.152 +26.201 0.398 0.152 +26.451 0.398 0.152 +26.701 0.398 0.152 +26.951 0.398 0.152 +27.201 0.398 0.152 +27.451 0.398 0.152 +27.701 0.398 0.152 +27.951 0.398 0.152 +28.201 0.398 0.152 +28.451 0.398 0.152 +28.701 0.398 0.152 +28.951 0.398 0.152 +29.201 0.398 0.152 +29.451 0.398 0.152 +29.701 0.398 0.152 +29.951 0.398 0.152 +30.201 0.398 0.152 +30.451 0.398 0.152 +30.701 0.398 0.152 +30.951 0.398 0.152 +31.201 0.398 0.152 +31.451 0.398 0.152 +31.701 0.398 0.152 +31.951 0.398 0.152 +32.201 0.398 0.152 +32.451 0.398 0.152 +32.701 0.398 0.152 +32.951 0.398 0.152 +33.201 0.398 0.152 +33.451 0.398 0.152 +33.701 0.398 0.152 +33.951 0.398 0.152 +34.201 0.398 0.152 +34.451 0.398 0.152 +34.701 0.398 0.152 +34.951 0.398 0.152 +35.201 0.398 0.152 +35.451 0.398 0.152 +35.701 0.398 0.152 +35.951 0.398 0.152 +36.201 0.398 0.152 +36.451 0.398 0.152 +36.701 0.398 0.152 +36.951 0.398 0.152 +37.201 0.398 0.152 +37.451 0.398 0.152 +37.701 0.398 0.152 +37.951 0.398 0.152 +38.201 0.398 0.152 +38.451 0.398 0.152 +38.701 0.398 0.152 +38.951 0.398 0.152 +39.201 0.398 0.152 +39.451 0.398 0.152 +39.701 0.398 0.152 +39.951 0.398 0.152 diff --git a/app/host/SBI/snrfiles/WISE_W1_magvsnr.txt b/app/host/SBI/snrfiles/WISE_W1_magvsnr.txt index a3c44685..b9d95eba 100644 --- a/app/host/SBI/snrfiles/WISE_W1_magvsnr.txt +++ b/app/host/SBI/snrfiles/WISE_W1_magvsnr.txt @@ -1,46 +1,114 @@ -9.955 896.428 -10.205 868.423 -10.455 580.398 -10.705 819.889 -10.955 571.307 -11.205 477.974 -11.455 496.780 -11.705 432.305 -11.955 388.522 -12.205 318.152 -12.455 284.307 -12.705 319.957 -12.955 291.065 -13.205 170.694 -13.455 142.471 -13.705 245.832 -13.955 119.919 -14.205 139.959 -14.455 112.439 -14.705 94.710 -14.955 66.742 -15.205 86.793 -15.455 78.766 -15.705 68.093 -15.955 63.871 -16.205 48.698 -16.455 30.150 -16.705 48.499 -16.955 18.986 -17.205 27.107 -17.455 21.494 -17.705 26.835 -17.955 30.779 -18.205 17.344 -18.455 7.609 -18.705 7.996 -18.955 8.383 -19.205 10.515 -19.455 7.607 -19.705 4.653 -19.955 4.879 -20.205 5.105 -20.455 5.330 -20.705 5.556 -20.955 5.782 -21.205 3.417 +11.505 82.367 29.537 +11.755 74.791 26.147 +12.005 87.526 27.652 +12.255 88.986 30.004 +12.505 91.145 27.527 +12.755 90.358 24.471 +13.005 89.568 23.132 +13.255 87.817 24.241 +13.505 85.630 22.775 +13.755 84.036 22.039 +14.005 81.124 19.354 +14.255 78.253 17.592 +14.505 75.219 18.039 +14.755 70.875 17.294 +15.005 66.394 15.369 +15.255 62.344 14.492 +15.505 57.286 13.978 +15.755 52.241 12.802 +16.005 47.697 12.542 +16.255 43.028 11.349 +16.505 38.341 10.396 +16.755 33.876 9.218 +17.005 30.474 8.506 +17.255 26.353 7.427 +17.505 22.864 6.888 +17.755 19.762 5.708 +18.005 17.314 5.365 +18.255 14.647 4.739 +18.505 12.389 4.446 +18.755 10.548 3.542 +19.005 8.835 2.766 +19.255 7.522 2.453 +19.505 6.250 1.951 +19.755 5.079 1.733 +20.005 4.176 1.424 +20.255 3.472 1.237 +20.505 2.839 0.876 +20.755 2.297 0.731 +21.005 1.847 0.721 +21.255 1.502 0.452 +21.505 1.238 0.473 +21.755 0.983 0.306 +22.005 0.770 0.258 +22.255 0.640 0.206 +22.505 0.489 0.202 +22.755 0.409 0.123 +23.005 0.311 0.098 +23.255 0.259 0.095 +23.505 0.259 0.095 +23.755 0.259 0.095 +24.005 0.259 0.095 +24.255 0.259 0.095 +24.505 0.259 0.095 +24.755 0.259 0.095 +25.005 0.259 0.095 +25.255 0.259 0.095 +25.505 0.259 0.095 +25.755 0.259 0.095 +26.005 0.259 0.095 +26.255 0.259 0.095 +26.505 0.259 0.095 +26.755 0.259 0.095 +27.005 0.259 0.095 +27.255 0.259 0.095 +27.505 0.259 0.095 +27.755 0.259 0.095 +28.005 0.259 0.095 +28.255 0.259 0.095 +28.505 0.259 0.095 +28.755 0.259 0.095 +29.005 0.259 0.095 +29.255 0.259 0.095 +29.505 0.259 0.095 +29.755 0.259 0.095 +30.005 0.259 0.095 +30.255 0.259 0.095 +30.505 0.259 0.095 +30.755 0.259 0.095 +31.005 0.259 0.095 +31.255 0.259 0.095 +31.505 0.259 0.095 +31.755 0.259 0.095 +32.005 0.259 0.095 +32.255 0.259 0.095 +32.505 0.259 0.095 +32.755 0.259 0.095 +33.005 0.259 0.095 +33.255 0.259 0.095 +33.505 0.259 0.095 +33.755 0.259 0.095 +34.005 0.259 0.095 +34.255 0.259 0.095 +34.505 0.259 0.095 +34.755 0.259 0.095 +35.005 0.259 0.095 +35.255 0.259 0.095 +35.505 0.259 0.095 +35.755 0.259 0.095 +36.005 0.259 0.095 +36.255 0.259 0.095 +36.505 0.259 0.095 +36.755 0.259 0.095 +37.005 0.259 0.095 +37.255 0.259 0.095 +37.505 0.259 0.095 +37.755 0.259 0.095 +38.005 0.259 0.095 +38.255 0.259 0.095 +38.505 0.259 0.095 +38.755 0.259 0.095 +39.005 0.259 0.095 +39.255 0.259 0.095 +39.505 0.259 0.095 +39.755 0.259 0.095 diff --git a/app/host/SBI/snrfiles/WISE_W2_magvsnr.txt b/app/host/SBI/snrfiles/WISE_W2_magvsnr.txt index f5004e81..9f79261b 100644 --- a/app/host/SBI/snrfiles/WISE_W2_magvsnr.txt +++ b/app/host/SBI/snrfiles/WISE_W2_magvsnr.txt @@ -1,46 +1,113 @@ -9.589 569.064 -9.839 566.647 -10.089 564.231 -10.339 476.468 -10.589 437.646 -10.839 379.485 -11.089 304.809 -11.339 302.738 -11.589 256.046 -11.839 252.251 -12.089 116.095 -12.339 204.962 -12.589 170.444 -12.839 181.098 -13.089 105.873 -13.339 93.013 -13.589 134.440 -13.839 99.905 -14.089 63.594 -14.339 72.594 -14.589 69.651 -14.839 35.510 -15.089 41.823 -15.339 53.339 -15.589 36.689 -15.839 29.656 -16.089 25.770 -16.339 26.362 -16.589 18.262 -16.839 19.280 -17.089 15.059 -17.339 18.528 -17.589 18.100 -17.839 14.429 -18.089 10.376 -18.339 3.785 -18.589 5.034 -18.839 6.282 -19.089 5.212 -19.339 4.833 -19.589 4.455 -19.839 3.528 -20.089 2.600 -20.339 2.936 -20.589 3.272 -20.839 2.582 +11.973 72.888 28.639 +12.223 79.647 25.971 +12.473 69.999 26.424 +12.723 79.848 27.823 +12.973 80.552 25.614 +13.223 79.813 21.478 +13.473 76.819 21.615 +13.723 74.658 19.827 +13.973 70.083 20.341 +14.223 66.989 16.906 +14.473 62.458 17.485 +14.723 58.719 14.407 +14.973 54.309 14.280 +15.223 49.482 12.666 +15.473 44.843 11.652 +15.723 40.856 10.983 +15.973 36.549 10.178 +16.223 32.293 8.699 +16.473 28.522 8.279 +16.723 25.203 7.331 +16.973 22.044 6.526 +17.223 19.381 5.204 +17.473 16.605 5.088 +17.723 14.233 4.156 +17.973 12.068 3.663 +18.223 10.394 3.066 +18.473 8.817 2.760 +18.723 7.369 2.567 +18.973 6.262 2.181 +19.223 5.168 1.677 +19.473 4.308 1.288 +19.723 3.584 1.205 +19.973 2.926 0.803 +20.223 2.371 0.669 +20.473 1.936 0.673 +20.723 1.593 0.450 +20.973 1.295 0.420 +21.223 1.054 0.291 +21.473 0.854 0.225 +21.723 0.687 0.188 +21.973 0.539 0.158 +22.223 0.429 0.125 +22.473 0.337 0.102 +22.723 0.285 0.084 +22.973 0.218 0.141 +23.223 0.183 0.048 +23.473 0.133 0.034 +23.723 0.133 0.034 +23.973 0.133 0.034 +24.223 0.133 0.034 +24.473 0.133 0.034 +24.723 0.133 0.034 +24.973 0.133 0.034 +25.223 0.133 0.034 +25.473 0.133 0.034 +25.723 0.133 0.034 +25.973 0.133 0.034 +26.223 0.133 0.034 +26.473 0.133 0.034 +26.723 0.133 0.034 +26.973 0.133 0.034 +27.223 0.133 0.034 +27.473 0.133 0.034 +27.723 0.133 0.034 +27.973 0.133 0.034 +28.223 0.133 0.034 +28.473 0.133 0.034 +28.723 0.133 0.034 +28.973 0.133 0.034 +29.223 0.133 0.034 +29.473 0.133 0.034 +29.723 0.133 0.034 +29.973 0.133 0.034 +30.223 0.133 0.034 +30.473 0.133 0.034 +30.723 0.133 0.034 +30.973 0.133 0.034 +31.223 0.133 0.034 +31.473 0.133 0.034 +31.723 0.133 0.034 +31.973 0.133 0.034 +32.223 0.133 0.034 +32.473 0.133 0.034 +32.723 0.133 0.034 +32.973 0.133 0.034 +33.223 0.133 0.034 +33.473 0.133 0.034 +33.723 0.133 0.034 +33.973 0.133 0.034 +34.223 0.133 0.034 +34.473 0.133 0.034 +34.723 0.133 0.034 +34.973 0.133 0.034 +35.223 0.133 0.034 +35.473 0.133 0.034 +35.723 0.133 0.034 +35.973 0.133 0.034 +36.223 0.133 0.034 +36.473 0.133 0.034 +36.723 0.133 0.034 +36.973 0.133 0.034 +37.223 0.133 0.034 +37.473 0.133 0.034 +37.723 0.133 0.034 +37.973 0.133 0.034 +38.223 0.133 0.034 +38.473 0.133 0.034 +38.723 0.133 0.034 +38.973 0.133 0.034 +39.223 0.133 0.034 +39.473 0.133 0.034 +39.723 0.133 0.034 +39.973 0.133 0.034 diff --git a/app/host/SBI/snrfiles/WISE_W3_magvsnr.txt b/app/host/SBI/snrfiles/WISE_W3_magvsnr.txt index 7e515c3d..471d0f0d 100644 --- a/app/host/SBI/snrfiles/WISE_W3_magvsnr.txt +++ b/app/host/SBI/snrfiles/WISE_W3_magvsnr.txt @@ -1,42 +1,117 @@ -6.708 123.838 -6.958 172.067 -7.208 220.297 -7.458 268.526 -7.708 718.484 -7.958 427.705 -8.208 281.304 -8.458 334.133 -8.708 137.463 -8.958 177.734 -9.208 133.900 -9.458 96.406 -9.708 155.706 -9.958 99.294 -10.208 137.089 -10.458 129.070 -10.708 48.637 -10.958 91.261 -11.208 56.861 -11.458 65.960 -11.708 54.875 -11.958 55.912 -12.208 54.285 -12.458 53.958 -12.708 22.026 -12.958 30.829 -13.208 14.193 -13.458 13.210 -13.708 17.521 -13.958 10.946 -14.208 14.874 -14.458 7.505 -14.708 6.917 -14.958 9.443 -15.208 6.776 -15.458 4.108 -15.708 5.635 -15.958 4.907 -16.208 2.644 -16.458 2.634 -16.708 2.261 -16.958 2.909 +10.955 37.412 33.759 +11.205 43.722 34.391 +11.455 48.181 32.517 +11.705 69.017 30.374 +11.955 51.271 30.287 +12.205 75.419 29.893 +12.455 70.422 26.499 +12.705 68.467 24.084 +12.955 65.449 21.673 +13.205 58.185 20.679 +13.455 52.390 18.558 +13.705 48.917 17.487 +13.955 45.011 16.676 +14.205 39.503 15.475 +14.455 34.441 13.585 +14.705 30.195 12.702 +14.955 25.965 11.858 +15.205 22.323 9.645 +15.455 19.355 8.993 +15.705 16.602 7.741 +15.955 13.712 7.181 +16.205 11.589 5.172 +16.455 9.725 4.225 +16.705 8.049 3.419 +16.955 6.785 3.231 +17.205 5.600 2.306 +17.455 4.719 2.048 +17.705 3.985 1.708 +17.955 3.288 1.245 +18.205 2.725 1.426 +18.455 2.280 0.831 +18.705 1.889 0.694 +18.955 1.572 0.574 +19.205 1.271 0.514 +19.455 1.057 0.411 +19.705 0.853 0.407 +19.955 0.702 0.265 +20.205 0.556 0.252 +20.455 0.459 0.230 +20.705 0.360 0.164 +20.955 0.285 0.115 +21.205 0.230 0.089 +21.455 0.178 0.068 +21.705 0.146 0.061 +21.955 0.112 0.060 +22.205 0.092 0.036 +22.455 0.073 0.040 +22.705 0.055 0.024 +22.955 0.055 0.024 +23.205 0.055 0.024 +23.455 0.055 0.024 +23.705 0.055 0.024 +23.955 0.055 0.024 +24.205 0.055 0.024 +24.455 0.055 0.024 +24.705 0.055 0.024 +24.955 0.055 0.024 +25.205 0.055 0.024 +25.455 0.055 0.024 +25.705 0.055 0.024 +25.955 0.055 0.024 +26.205 0.055 0.024 +26.455 0.055 0.024 +26.705 0.055 0.024 +26.955 0.055 0.024 +27.205 0.055 0.024 +27.455 0.055 0.024 +27.705 0.055 0.024 +27.955 0.055 0.024 +28.205 0.055 0.024 +28.455 0.055 0.024 +28.705 0.055 0.024 +28.955 0.055 0.024 +29.205 0.055 0.024 +29.455 0.055 0.024 +29.705 0.055 0.024 +29.955 0.055 0.024 +30.205 0.055 0.024 +30.455 0.055 0.024 +30.705 0.055 0.024 +30.955 0.055 0.024 +31.205 0.055 0.024 +31.455 0.055 0.024 +31.705 0.055 0.024 +31.955 0.055 0.024 +32.205 0.055 0.024 +32.455 0.055 0.024 +32.705 0.055 0.024 +32.955 0.055 0.024 +33.205 0.055 0.024 +33.455 0.055 0.024 +33.705 0.055 0.024 +33.955 0.055 0.024 +34.205 0.055 0.024 +34.455 0.055 0.024 +34.705 0.055 0.024 +34.955 0.055 0.024 +35.205 0.055 0.024 +35.455 0.055 0.024 +35.705 0.055 0.024 +35.955 0.055 0.024 +36.205 0.055 0.024 +36.455 0.055 0.024 +36.705 0.055 0.024 +36.955 0.055 0.024 +37.205 0.055 0.024 +37.455 0.055 0.024 +37.705 0.055 0.024 +37.955 0.055 0.024 +38.205 0.055 0.024 +38.455 0.055 0.024 +38.705 0.055 0.024 +38.955 0.055 0.024 +39.205 0.055 0.024 +39.455 0.055 0.024 +39.705 0.055 0.024 +39.955 0.055 0.024 diff --git a/app/host/SBI/snrfiles/WISE_W4_magvsnr.txt b/app/host/SBI/snrfiles/WISE_W4_magvsnr.txt index 8244284d..fcdb4447 100644 --- a/app/host/SBI/snrfiles/WISE_W4_magvsnr.txt +++ b/app/host/SBI/snrfiles/WISE_W4_magvsnr.txt @@ -1,44 +1,118 @@ -5.363 150.200 -5.613 164.116 -5.863 178.032 -6.113 111.280 -6.363 116.695 -6.613 85.341 -6.863 90.811 -7.113 99.952 -7.363 37.822 -7.613 44.851 -7.863 25.629 -8.113 26.360 -8.363 23.568 -8.613 25.448 -8.863 26.994 -9.113 22.456 -9.363 28.704 -9.613 22.412 -9.863 13.099 -10.113 14.707 -10.363 15.735 -10.613 12.176 -10.863 8.584 -11.113 10.425 -11.363 7.485 -11.613 7.685 -11.863 6.615 -12.113 5.545 -12.363 5.060 -12.613 4.973 -12.863 4.023 -13.113 3.073 -13.363 2.698 -13.613 2.126 -13.863 4.472 -14.113 1.762 -14.363 1.467 -14.613 1.173 -14.863 1.677 -15.113 1.330 -15.363 1.101 -15.613 1.011 -15.863 0.920 -16.113 0.830 +10.747 17.342 16.659 +10.997 18.044 15.441 +11.247 19.325 11.651 +11.497 17.634 11.598 +11.747 18.520 9.291 +11.997 19.758 9.576 +12.247 17.764 7.376 +12.497 17.071 10.076 +12.747 14.806 6.961 +12.997 13.136 5.558 +13.247 11.193 5.967 +13.497 10.580 4.457 +13.747 9.213 4.811 +13.997 7.961 4.091 +14.247 7.003 2.656 +14.497 6.053 2.530 +14.747 5.213 4.075 +14.997 4.511 1.821 +15.247 3.933 1.486 +15.497 3.330 2.011 +15.747 2.842 1.536 +15.997 2.438 1.017 +16.247 2.065 0.981 +16.497 1.762 0.893 +16.747 1.521 0.783 +16.997 1.278 0.541 +17.247 1.084 0.340 +17.497 0.894 0.353 +17.747 0.743 0.319 +17.997 0.604 0.265 +18.247 0.493 0.347 +18.497 0.399 0.160 +18.747 0.317 0.247 +18.997 0.258 0.104 +19.247 0.196 0.101 +19.497 0.160 0.068 +19.747 0.122 0.076 +19.997 0.096 0.039 +20.247 0.084 0.056 +20.497 0.061 0.025 +20.747 0.050 0.017 +20.997 0.041 0.016 +21.247 0.032 0.011 +21.497 0.026 0.010 +21.747 0.026 0.010 +21.997 0.026 0.010 +22.247 0.026 0.010 +22.497 0.026 0.010 +22.747 0.026 0.010 +22.997 0.026 0.010 +23.247 0.026 0.010 +23.497 0.026 0.010 +23.747 0.026 0.010 +23.997 0.026 0.010 +24.247 0.026 0.010 +24.497 0.026 0.010 +24.747 0.026 0.010 +24.997 0.026 0.010 +25.247 0.026 0.010 +25.497 0.026 0.010 +25.747 0.026 0.010 +25.997 0.026 0.010 +26.247 0.026 0.010 +26.497 0.026 0.010 +26.747 0.026 0.010 +26.997 0.026 0.010 +27.247 0.026 0.010 +27.497 0.026 0.010 +27.747 0.026 0.010 +27.997 0.026 0.010 +28.247 0.026 0.010 +28.497 0.026 0.010 +28.747 0.026 0.010 +28.997 0.026 0.010 +29.247 0.026 0.010 +29.497 0.026 0.010 +29.747 0.026 0.010 +29.997 0.026 0.010 +30.247 0.026 0.010 +30.497 0.026 0.010 +30.747 0.026 0.010 +30.997 0.026 0.010 +31.247 0.026 0.010 +31.497 0.026 0.010 +31.747 0.026 0.010 +31.997 0.026 0.010 +32.247 0.026 0.010 +32.497 0.026 0.010 +32.747 0.026 0.010 +32.997 0.026 0.010 +33.247 0.026 0.010 +33.497 0.026 0.010 +33.747 0.026 0.010 +33.997 0.026 0.010 +34.247 0.026 0.010 +34.497 0.026 0.010 +34.747 0.026 0.010 +34.997 0.026 0.010 +35.247 0.026 0.010 +35.497 0.026 0.010 +35.747 0.026 0.010 +35.997 0.026 0.010 +36.247 0.026 0.010 +36.497 0.026 0.010 +36.747 0.026 0.010 +36.997 0.026 0.010 +37.247 0.026 0.010 +37.497 0.026 0.010 +37.747 0.026 0.010 +37.997 0.026 0.010 +38.247 0.026 0.010 +38.497 0.026 0.010 +38.747 0.026 0.010 +38.997 0.026 0.010 +39.247 0.026 0.010 +39.497 0.026 0.010 +39.747 0.026 0.010 +39.997 0.026 0.010 diff --git a/app/host/plotting_utils.py b/app/host/plotting_utils.py index 9bdd112b..ecbace52 100644 --- a/app/host/plotting_utils.py +++ b/app/host/plotting_utils.py @@ -1,6 +1,7 @@ import math import os from math import pi +from packaging.version import Version import numpy as np import pandas as pd @@ -252,7 +253,7 @@ def generate_empty_plot(title): return generate_plot(fig, image_data=image_data) -def plot_sed(transient=None, sed_results_file=None, type="", sed_modeldata_file=None): +def plot_sed(transient=None, sed_results_file=None, type="", sed_modeldata_file=None, offset_sed_model=False): """ Plot SED from aperture photometry. """ @@ -344,7 +345,7 @@ def plot_sed(transient=None, sed_results_file=None, type="", sed_modeldata_file= model_data = np.load(sed_modeldata_file, allow_pickle=True) # best = result["bestfit"] - if transient.best_redshift < 0.015: + if transient.best_redshift < 0.015 and offset_sed_model: a = result["obs"]["redshift"] - 0.015 + 1 mag_off = ( cosmo.distmod(result["obs"]["redshift"]).value @@ -397,7 +398,7 @@ def plot_sed(transient=None, sed_results_file=None, type="", sed_modeldata_file= except Exception: pwave = [f.wave_effective for f in obs["filters"]] - if transient.best_redshift < 0.015: + if transient.best_redshift < 0.015 and offset_sed_model: fig.scatter( pwave, maggies_to_mJy(model_data["phot"]) * 10 ** (0.4 * mag_off), @@ -585,6 +586,7 @@ def render_sed_plot(transient, scope): sed_results_tmp_filepath = None sed_modeldata_tmp_filepath = None sed_obj = SEDFittingResult.objects.filter(transient=transient, aperture__type__exact=scope) + offset_sed_model = False if sed_obj.exists(): canonical_path = sed_obj[0].posterior.name sed_results_tmp_filepath, sed_results_object_key = temp_results_paths_from_canonical_path(canonical_path) @@ -592,12 +594,15 @@ def render_sed_plot(transient, scope): sed_modeldata_object_key = sed_results_object_key.replace(".h5", "_modeldata.npz") download_file_from_s3(sed_results_tmp_filepath, sed_results_object_key) download_file_from_s3(sed_modeldata_tmp_filepath, sed_modeldata_object_key) + if sed_obj[0].software_version is None or Version(sed_obj[0].software_version) <= Version('1.13.1'): + offset_sed_model = True # Generate a SED plot using Bokeh plot = plot_sed( transient=transient, type=scope, sed_results_file=sed_results_tmp_filepath, sed_modeldata_file=sed_modeldata_tmp_filepath, + offset_sed_model=offset_sed_model ) # Purge temporary cached files delete_cached_file(sed_results_tmp_filepath) diff --git a/app/host/prospector.py b/app/host/prospector.py index c574f404..8d867695 100644 --- a/app/host/prospector.py +++ b/app/host/prospector.py @@ -29,6 +29,7 @@ from prospect.utils.obsutils import fix_obs from scipy.special import gamma from scipy.special import gammainc +from scipy.interpolate import interp1d from .host_utils import get_dust_maps from .models import AperturePhotometry @@ -180,10 +181,30 @@ def build_obs(transient, aperture_type, use_mag_offset=True): filters.append(trans_curve) flux_maggies.append(mJy_to_maggies(flux_mwcorr * 10 ** (-0.4 * mag_offset))) - flux_maggies_error.append( - mJy_to_maggies(fluxerr_mwcorr * 10 ** (-0.4 * mag_offset)) - ) - + if mag_offset > 0: + toy_noise_x, toy_noise_y, toy_noise_std = np.loadtxt( + f"host/SBI/snrfiles/{filter.name}_magvsnr.txt", dtype=float, unpack=True + ) + meds_sigs = \ + interp1d( + toy_noise_x, + 1.0857 * 1 / toy_noise_y, + kind="slinear", + fill_value="extrapolate", # (0.01,1.0), + bounds_error=False, + ) + + magerr_off = meds_sigs(-2.5*np.log10(mJy_to_maggies(flux_mwcorr))+mag_offset) - \ + meds_sigs(-2.5*np.log10(mJy_to_maggies(flux_mwcorr))) + magerr = 1.0857*fluxerr_mwcorr/flux_mwcorr + magerr_off + flux_maggies_error.append( + mJy_to_maggies(0.4*np.log(10)*magerr*flux_mwcorr * 10 ** (-0.4 * mag_offset)) + ) + else: + flux_maggies_error.append( + mJy_to_maggies(fluxerr_mwcorr * 10 ** (-0.4 * mag_offset)) + ) + obs_data = dict( wavelength=None, spectrum=None, @@ -224,7 +245,7 @@ def build_model_nonparam(obs=None, **extras): "N": 1, "isfree": True, "init": 0.5, - "prior": priors.FastUniform(a=0, b=0.2), + "prior": priors.FastUniform(a=0, b=1.0), } model_params["logmass"] = { @@ -743,7 +764,7 @@ def build_model(observations): def fit_model( - observations, model_components, fitting_kwargs, sbipp=False, fit_type="global" + observations, model_components, fitting_kwargs, sbipp=False, fit_type="standard" ): """Fit the model""" diff --git a/app/host/transient_tasks.py b/app/host/transient_tasks.py index 72a73c7a..7e26a55f 100644 --- a/app/host/transient_tasks.py +++ b/app/host/transient_tasks.py @@ -993,15 +993,19 @@ def _run_process( # logger.warning('All SED output files exist. Skipping SED fitting calculation...') # return "processed" - if transient.best_redshift is None or transient.best_redshift > 0.2: + if transient.best_redshift is None or transient.best_redshift > 1.0: # training sample doesn't work here return "redshift too high" - + if transient.best_redshift < 0.015: + fit_type = 'lowz' + else: + fit_type = 'standard' + aperture = Aperture.objects.filter(**query) if len(aperture) == 0: raise RuntimeError(f"no apertures found for transient {transient.name}") - observations = build_obs(transient, aperture_type) + observations = build_obs(transient, aperture_type, use_mag_offset=False) model_components = build_model(observations) if mode == "test" and not sbipp: @@ -1039,7 +1043,7 @@ def _run_process( model_components, fitting_settings, sbipp=sbipp, - fit_type=aperture_type, + fit_type=fit_type, ) if errflag: return "not enough filters" diff --git a/docs/usage/data_files.rst b/docs/usage/data_files.rst index dc93d38f..01d3b6d1 100644 --- a/docs/usage/data_files.rst +++ b/docs/usage/data_files.rst @@ -48,7 +48,7 @@ Description This file is broadly the same as the parameter chains file above, but each parameter has an array of three elements (or sometimes three columns) corresponding to the 16th, 50th, and 84th percentiles from the posterior samples. Additionally, these files include confidence intervals for the model spectra and model photometry, in :code:`modspec` and :code:`modphot`, respectively. The :code:`theta_lbs` key contains the full set of prospector model parameters for reference. -Note: for transients at z < 0.015, an offset is applied in the model spectra and photometry due to practical considerations. See :ref:`low_z` below for help interpreting these data. +Note: for previous versions of blast in the case of transients at z < 0.015, an offset is applied in the model spectra and photometry due to practical considerations. See :ref:`low_z` below for help interpreting these data. .. _model_file: @@ -183,6 +183,9 @@ Finally, to plot the observed photometry alongside the SED model above, we just Low-Redshift Transients ----------------------- +*Note*: We have updated our models such that this section is no longer +needed for SED fitting with Blast version x.x.x and later. + In the local volume, small changes in redshift equate to large differences in predicted magnitude, making it impractical to generate a sufficiently large training set for the SBI approach in this regime. Instead, we artificially redshift the transient photometry by an additional :math:`\Delta z = 0.015` using the WMAP 2009 cosmology.