def stack_masking(self, working_surface_location: SurfaceData) -> None: """ call the stack masking algorithm and store the results """ self.stack_masking_algorithm(working_surface_location) # store results in working surface location working_surface_location.beams_masked = \ self.stack_masking_algorithm.beams_masked working_surface_location.stack_mask_vector = \ self.stack_masking_algorithm.stack_mask_vector working_surface_location.stack_mask =\ self.stack_masking_algorithm.stack_mask