Skip to content

Commit

Permalink
remove VillarFit
Browse files Browse the repository at this point in the history
  • Loading branch information
hombit committed Jun 2, 2022

Verified

This commit was signed with the committer’s verified signature.
mike-sul Mike Sul
1 parent 857b88d commit f9e5135
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions extract_features.py
Original file line number Diff line number Diff line change
@@ -142,7 +142,8 @@ class LcExtractor():

flux_extractor = licu.Extractor(
licu.BazinFit('mcmc-lmsder', mcmc_niter=1 << 13, lmsder_niter=20),
licu.VillarFit('mcmc-lmsder', mcmc_niter=1 << 13, lmsder_niter=20),
licu.Kurtosis(),
licu.Skew(),
)

def __post_init__(self):
@@ -176,7 +177,7 @@ def lcs_flux_list_tuples(lcs: Iterable[Table]) -> List[Tuple[np.ndarray, np.ndar
return [(lc['time'], lc['flux'], lc['fluxerr']) for lc in lcs]

def __call__(self, light_curves: Sequence[Table],
*, schema: str, chunk_size: int = 1 << 14, n_jobs: int = -1, out=None) -> np.ndarray:
*, schema: str, chunk_size: int = 1 << 10, n_jobs: int = -1, out=None) -> np.ndarray:
prepare_lc_func = self._prepare_lc_funcs(schema)
n_light_curves = len(light_curves)
if out is None:

0 comments on commit f9e5135

Please sign in to comment.