def detection(self, time, gas_field, atm): """ The null detection method is simply the null detection method defined in the super class DetectionMethod Inputs: time an object of type Time (defined in feast_classes) gas_field an object of type GasField (defined in feast_classes) atm an object of type Atmosphere (defined in feast_classes) Note: atm is not currently used by this method, but it is accepted as an argument for consistency with other detection methods """ DetectionMethod.null_detection(self, time, gas_field)
def detection(self, simulation_time, gas_field, atm): """ The null detection method is simply the null detection method defined in the super class DetectionMethod Inputs: simulation_time an object of type Time (defined in feast_classes) containing the relevant current time and stepping information for the overall sim gas_field an object of type GasField (defined in feast_classes) atm an object of type Atmosphere (defined in feast_classes) Note: atm is not currently used by this method, but it is accepted as an argument for consistency with other detection methods """ if simulation_time.current_time % self.survey_interval < simulation_time.delta_t: DetectionMethod.null_detection(self, simulation_time, gas_field)