import matplotlib.pyplot as plt import pandas as pd import numpy as np from fidanka.fiducial.fiducial import measure_fiducial_lines from fidanka.fiducial.utils import bin_color_mag_density import pickle as pkl from matplotlib.lines import Line2D from fidanka.fiducial.fiducial import hull_density from scipy.interpolate import splrep, BSpline from scipy.interpolate import interp1d from fidanka.isochrone.MIST import read_iso from fidanka.isochrone.isochrone import interp_isochrone_age from fidanka.bolometric.bctab import BolometricCorrector import re from scipy.optimize import curve_fit from fidanka.isochrone.MIST import read_iso from fidanka.isochrone.isochrone import interp_isochrone_age