From ec183ba817e2e066d85f9070bce30eab1004a289 Mon Sep 17 00:00:00 2001 From: Jeremy Kubica <104161096+jeremykubica@users.noreply.github.com> Date: Tue, 8 Oct 2024 12:26:37 -0400 Subject: [PATCH] Rename last file --- src/tdastro/sources/physical_model.py | 1 - src/tdastro/sources/step_source.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tdastro/sources/physical_model.py b/src/tdastro/sources/physical_model.py index 741f67bc..6dc4f31c 100644 --- a/src/tdastro/sources/physical_model.py +++ b/src/tdastro/sources/physical_model.py @@ -1,6 +1,5 @@ """The base PhysicalModel used for all sources.""" - import numpy as np from tdastro.astro_utils.passbands import Passband diff --git a/src/tdastro/sources/step_source.py b/src/tdastro/sources/step_source.py index f8ccae5a..8001e293 100644 --- a/src/tdastro/sources/step_source.py +++ b/src/tdastro/sources/step_source.py @@ -23,7 +23,7 @@ def __init__(self, brightness, t0, t1, **kwargs): self.add_parameter("t0", t0, **kwargs) self.add_parameter("t1", t1, **kwargs) - def _evaluate(self, times, wavelengths, graph_state, **kwargs): + def compute_flux(self, times, wavelengths, graph_state, **kwargs): """Draw effect-free observations for this object. Parameters