Q:how to run a simple photoacoustic image reconstruction example using time reversal? #528
Unanswered
vanlinus3068
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hi! This is my first time starting a discussion in this repository! I want to use the kspaceFirstOrder2D function to simulate the time-reversal algorithm, but I’m not sure how to use or define sensor.time_reversal_boundary_data. Could someone please help me with this?
Following is my code:
import cv2
import numpy as np
from scipy.io import savemat
from kwave.data import Vector
from kwave.kgrid import kWaveGrid
from kwave.kmedium import kWaveMedium
from kwave.ksensor import kSensor
from kwave.ksource import kSource
from kwave.kspaceFirstOrder2D import kspaceFirstOrder2D
from kwave.options.simulation_execution_options import SimulationExecutionOptions
from kwave.options.simulation_options import SimulationOptions
from kwave.utils.mapgen import make_cart_circle
import matplotlib.pyplot as plt
if name == 'main':
Beta Was this translation helpful? Give feedback.
All reactions