Example #1
0
 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)
Example #2
0
    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)