Skip to content

Commit

Permalink
no provenance for quartic fit
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbhughes committed Dec 1, 2024
1 parent 571679d commit 13a9eb8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions simpunch/level0.py
Original file line number Diff line number Diff line change
@@ -118,8 +118,8 @@ def generate_l0_pmzp(input_file: NDCube,
"""Generate level 0 polarized synthetic data."""
input_data = load_ndcube_from_fits(input_file)
psf_model = ArrayPSFTransform.load(Path(psf_model_path))
wfi_quartic_coefficients = load_ndcube_from_fits(wfi_quartic_coeffs_path).data
nfi_quartic_coefficients = load_ndcube_from_fits(nfi_quartic_coeffs_path).data
wfi_quartic_coefficients = load_ndcube_from_fits(wfi_quartic_coeffs_path, include_provenance=False).data
nfi_quartic_coefficients = load_ndcube_from_fits(nfi_quartic_coeffs_path, include_provenance=False).data

# Define the output data product
product_code = input_data.meta["TYPECODE"].value + input_data.meta["OBSCODE"].value
@@ -201,8 +201,8 @@ def generate_l0_cr(input_file: NDCube, path_output: str,
"""Generate level 0 clear synthetic data."""
input_data = load_ndcube_from_fits(input_file)
psf_model = ArrayPSFTransform.load(Path(psf_model_path))
wfi_quartic_coefficients = load_ndcube_from_fits(wfi_quartic_coeffs_path).data
nfi_quartic_coefficients = load_ndcube_from_fits(nfi_quartic_coeffs_path).data
wfi_quartic_coefficients = load_ndcube_from_fits(wfi_quartic_coeffs_path, include_provenance=False).data
nfi_quartic_coefficients = load_ndcube_from_fits(nfi_quartic_coeffs_path, include_provenance=False).data

# Define the output data product
product_code = input_data.meta["TYPECODE"].value + input_data.meta["OBSCODE"].value

0 comments on commit 13a9eb8

Please sign in to comment.