def _prepare_data(self, df_source_info, df_fluxes, df_wavelengths):
    self.df_source_info = df_source_info
    self.objids = self.df_source_info['objid'].to_numpy()
    fluxes = df_fluxes.loc[df_fluxes['objid'].isin(self.objids)]
    X = np.delete(fluxes.values, 0, axis=1)
    X = X[:, 0::2]
    print(f'X.shape = {X.shape}')
    X = X[:, (np.mod(np.arange(X[0].size), 25) != 0)]
    X = X[:, :1792]
    print(f'X.shape = {X.shape}')
    wavelengths = df_wavelengths.to_numpy()
    wavelengths = wavelengths[::2]
    self.wavelengths = wavelengths[0:1792]
    return X
def _prepare_data(self, df_source_info, df_fluxes, df_wavelengths):
    self.df_source_info = df_source_info
    self.objids = self.df_source_info['objid'].to_numpy()
    fluxes = df_fluxes.loc[df_fluxes['objid'].isin(self.objids)]
    X = np.delete(fluxes.values, 0, axis=1)
    X = X[:, 0::2]
    print(f'X.shape = {X.shape}')
    X = X[:, (np.mod(np.arange(X[0].size), 25) != 0)]
    X = X[:, :1792]
    print(f'X.shape = {X.shape}')
    wavelengths = df_wavelengths.to_numpy()
    wavelengths = wavelengths[::2]
    self.wavelengths = wavelengths[0:1792]
    return X