diff --git a/lcviz/plugins/photometric_extraction/photometric_extraction.py b/lcviz/plugins/photometric_extraction/photometric_extraction.py index 235c555..6f704be 100644 --- a/lcviz/plugins/photometric_extraction/photometric_extraction.py +++ b/lcviz/plugins/photometric_extraction/photometric_extraction.py @@ -40,11 +40,16 @@ def __init__(self, *args, **kwargs): def is_tpf(data): return len(data.shape) == 3 self.dataset.filters = [is_tpf] + + # only allow for Sum + self.function._manual_options = ['Sum'] + self.function.items = [{"label": "Sum"}] + self._set_relevant() # move upstream? @property def user_api(self): - expose = ['dataset', 'function', 'aperture', + expose = ['dataset', 'aperture', 'background', 'add_results', 'extract', 'aperture_method']