Skip to content

Commit

Permalink
works with homegrown SOF
Browse files Browse the repository at this point in the history
  • Loading branch information
oczoske committed Dec 27, 2024
1 parent c578c63 commit 389a4de
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions metisp/pymetis/src/pymetis/recipes/cal/metis_cal_chophome.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
from pymetis.base.recipe import MetisRecipe
from pymetis.inputs import RawInput
from pymetis.inputs.common import (LinearityInput, GainMapInput,
PersistenceMapInput, BadpixMapInput)
PersistenceMapInput, BadpixMapInput,
PinholeTableInput)
from pymetis.base.product import PipelineProduct
from pymetis.prefab.rawimage import RawImageProcessor

Expand All @@ -50,7 +51,7 @@ def __init__(self, frameset: cpl.ui.FrameSet):
self.badpixmap = BadpixMapInput(frameset, required=False)
self.pinhole_table = PinholeTableInput(frameset, required=True)

self.inputs += [self.linearity, self.gain_map, self,badpixmap,
self.inputs += [self.linearity, self.gain_map, self.badpixmap,
self.persistence]


Expand Down Expand Up @@ -126,5 +127,12 @@ class MetisCalChophome(MetisRecipe):
metrology."""

parameters = cpl.ui.ParameterList([
]) # no parameters defined in DRLD
cpl.ui.ParameterEnum(
name="metis_cal_chophome.stacking.method",
context="metis_cal_chophome",
description="Name of the method used to combine the input images",
default="average",
alternatives=("add", "average", "median", "sigclip"),
),
]) # no parameters defined in DRLD
implementation_class = MetisCalChophomeImpl

0 comments on commit 389a4de

Please sign in to comment.