-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Due to this line of code self.sensor = kSensor(mask=torch.ones((Nx, Ny, max(1, Nz))), record=["p_final"]) ,Calling a property that does not belong to this class later resulted in an error,such as the self. sensor.time.rversal-boundary_data property
def time_rev(self):
"""
Returns:
True for time reversal simulaions using sensor.time_reversal_boundary_data
"""
if self.sensor is not None and not isinstance(self.sensor, NotATransducer):
if not self.options.simulation_type.is_elastic_simulation() and **self.sensor.time_reversal_boundary_data** is not None:
return True
else:
return self.userarg_time_rev
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working