kwave package#
Subpackages#
- kwave.kWaveSimulation_helper package
- Submodules
- kwave.kWaveSimulation_helper.create_absorption_variables module
- kwave.kWaveSimulation_helper.create_storage_variables module
- kwave.kWaveSimulation_helper.data_cast module
- kwave.kWaveSimulation_helper.display_simulation_params module
- kwave.kWaveSimulation_helper.expand_grid_matrices module
- kwave.kWaveSimulation_helper.retract_transducer_grid_size module
- kwave.kWaveSimulation_helper.save_to_disk_func module
enforce_filename_standards()grab_axisymmetric_variables()grab_elastic_code_variables()grab_float_variables()grab_integer_variables()grab_medium_props()grab_nonuniform_grid_props()grab_pml_size()grab_pressure_source_props()grab_sensor_props()grab_source_props()grab_stress_source_props()grab_time_varying_source_props()grab_velocity_source_props()remove_z_dimension()save_file()save_h5_file()save_mat_file()save_to_disk_func()
- kwave.kWaveSimulation_helper.scale_source_terms_func module
apply_pressure_source_correction()apply_source_correction()apply_velocity_source_corrections()check_conditions()scale_pressure_source()scale_pressure_source_dirichlet()scale_pressure_source_nonuniform_grid()scale_pressure_source_uniform_grid()scale_source_terms_func()scale_stress_source()scale_stress_sources()scale_transducer_source()scale_velocity_source()scale_velocity_source_nonuniform()scale_velocity_source_x()scale_velocity_sources()
- kwave.kWaveSimulation_helper.set_sound_speed_ref module
- Module contents
- Submodules
- kwave.reconstruction package
- kwave.utils package
- Submodules
- kwave.utils.checks module
- kwave.utils.colormap module
- kwave.utils.conversion module
- kwave.utils.data module
- kwave.utils.dotdictionary module
- kwave.utils.filters module
- kwave.utils.interp module
- kwave.utils.io module
- kwave.utils.mapgen module
compute_linear_transform2D()create_pixel_dim()fit_power_law_params()focused_annulus_oneil()focused_bowl_oneil()get_spaced_points()make_arc()make_ball()make_bowl()make_cart_arc()make_cart_bowl()make_cart_circle()make_cart_disc()make_cart_rect()make_cart_sphere()make_cart_spherical_segment()make_circle()make_disc()make_line()make_multi_arc()make_multi_bowl()make_pixel_map()make_pixel_map_plane()make_pixel_map_point()make_sphere()make_spherical_section()ndgrid()power_law_kramers_kronig()trim_cart_points()water_absorption()water_density()water_non_linearity()water_sound_speed()
- kwave.utils.math module
- kwave.utils.matrix module
- kwave.utils.pml module
- kwave.utils.signals module
- kwave.utils.tictoc module
- Module contents
- Submodules
Submodules#
- kwave.data module
- kwave.enums module
- kwave.executor module
- kwave.kWaveSimulation module
kWaveSimulationkWaveSimulation.COLOR_MAPkWaveSimulation.ESTIMATE_SIM_TIME_STEPSkWaveSimulation.HIGHEST_PRIME_FACTOR_WARNINGkWaveSimulation.KSPACE_CFLkWaveSimulation.LOG_NAMEkWaveSimulation.PSTD_CFLkWaveSimulation.SOURCE_P_MODE_DEFkWaveSimulation.SOURCE_S_MODE_DEFkWaveSimulation.SOURCE_U_MODE_DEFkWaveSimulation.STREAM_TO_DISK_FILENAMEkWaveSimulation.__init__()kWaveSimulation.absorb_etakWaveSimulation.absorb_nabla1kWaveSimulation.absorb_nabla2kWaveSimulation.absorb_taukWaveSimulation.assign_pseudonyms()kWaveSimulation.binary_sensor_maskkWaveSimulation.blank_sensorkWaveSimulation.c0kWaveSimulation.check_calling_func_name_and_dim()kWaveSimulation.check_input_combinations()kWaveSimulation.check_kgrid_time()kWaveSimulation.check_medium()kWaveSimulation.check_sensor()kWaveSimulation.check_source()kWaveSimulation.compute_directivitykWaveSimulation.create_absorption_vars()kWaveSimulation.create_pml_indices()kWaveSimulation.create_sensor_variables()kWaveSimulation.cuboid_cornerskWaveSimulation.delay_maskkWaveSimulation.dtkWaveSimulation.elastic_time_revkWaveSimulation.equation_of_statekWaveSimulation.input_checking()kWaveSimulation.kelvin_voigt_modelkWaveSimulation.nonuniform_gridkWaveSimulation.p_source_pos_indexkWaveSimulation.print_start_status()kWaveSimulation.reorder_datakWaveSimulation.rho0kWaveSimulation.s_source_pos_indexkWaveSimulation.scale_source_terms()kWaveSimulation.select_precision()kWaveSimulation.set_index_data_type()kWaveSimulation.smooth_and_enlarge()kWaveSimulation.source_pkWaveSimulation.source_p0kWaveSimulation.source_p0_elastickWaveSimulation.source_p_labelledkWaveSimulation.source_s_labelledkWaveSimulation.source_sxxkWaveSimulation.source_sxykWaveSimulation.source_sxzkWaveSimulation.source_syykWaveSimulation.source_syzkWaveSimulation.source_szzkWaveSimulation.source_u_labelledkWaveSimulation.source_uxkWaveSimulation.source_uykWaveSimulation.source_uzkWaveSimulation.time_revkWaveSimulation.transducer_receive_elevation_focuskWaveSimulation.transducer_sensorkWaveSimulation.transducer_sourcekWaveSimulation.u_source_pos_indexkWaveSimulation.use_sensorkWaveSimulation.use_w_source_correction_pkWaveSimulation.use_w_source_correction_u
- kwave.kgrid module
kWaveGridkWaveGrid.CFL_DEFAULTkWaveGrid.MACHINE_PRECISIONkWaveGrid.NkWaveGrid.NtkWaveGrid.NxkWaveGrid.NykWaveGrid.NzkWaveGrid.__init__()kWaveGrid.dimkWaveGrid.dtkWaveGrid.dudnkWaveGrid.dudn_sgkWaveGrid.dxkWaveGrid.dykWaveGrid.dzkWaveGrid.highest_prime_factors()kWaveGrid.kkWaveGrid.k_dtt()kWaveGrid.k_maxkWaveGrid.k_max_allkWaveGrid.k_veckWaveGrid.kxkWaveGrid.kx_vec_dtt()kWaveGrid.kykWaveGrid.ky_vec_dtt()kWaveGrid.kzkWaveGrid.kz_vec_dtt()kWaveGrid.makeDTTDim()kWaveGrid.makeDim()kWaveGrid.makeTime()kWaveGrid.n_veckWaveGrid.n_vec_sgkWaveGrid.nonuniformkWaveGrid.setNUGrid()kWaveGrid.setTime()kWaveGrid.sizekWaveGrid.spacingkWaveGrid.t_arraykWaveGrid.total_grid_pointskWaveGrid.xkWaveGrid.x_sizekWaveGrid.x_veckWaveGrid.xnkWaveGrid.ykWaveGrid.y_sizekWaveGrid.y_veckWaveGrid.ynkWaveGrid.zkWaveGrid.z_sizekWaveGrid.z_veckWaveGrid.zn
- kwave.kmedium module
kWaveMediumkWaveMedium.BonAkWaveMedium.__init__()kWaveMedium.absorbingkWaveMedium.alpha_coeffkWaveMedium.alpha_coeff_compressionkWaveMedium.alpha_coeff_shearkWaveMedium.alpha_filterkWaveMedium.alpha_modekWaveMedium.alpha_powerkWaveMedium.alpha_signkWaveMedium.check_fields()kWaveMedium.densitykWaveMedium.ensure_defined()kWaveMedium.is_defined()kWaveMedium.is_nonlinear()kWaveMedium.set_absorbing()kWaveMedium.sound_speedkWaveMedium.sound_speed_compressionkWaveMedium.sound_speed_refkWaveMedium.sound_speed_ref_compressionkWaveMedium.sound_speed_ref_shearkWaveMedium.sound_speed_shearkWaveMedium.stokes
- kwave.ksensor module
- kwave.ksource module
kSourcekSource.__init__()kSource.flag_uxkSource.flag_uykSource.flag_uzkSource.is_p0_empty()kSource.pkSource.p0kSource.p_frequency_refkSource.p_maskkSource.p_modekSource.s_maskkSource.s_modekSource.sxxkSource.sxykSource.sxzkSource.syykSource.syzkSource.szzkSource.u_frequency_refkSource.u_maskkSource.u_modekSource.uxkSource.uykSource.uzkSource.validate()
- kwave.kspaceFirstOrder module
- kwave.kspaceFirstOrder2D module
- kwave.kspaceFirstOrder3D module
- kwave.kspaceFirstOrderAS module
- kwave.ktransducer module
NotATransducerNotATransducer.__init__()NotATransducer.active_elements_maskNotATransducer.all_elements_maskNotATransducer.appended_zerosNotATransducer.beamforming_delaysNotATransducer.beamforming_delays_offsetNotATransducer.combine_sensor_data()NotATransducer.delay_mask()NotATransducer.elevation_beamforming_delaysNotATransducer.elevation_beamforming_maskNotATransducer.expand_grid()NotATransducer.get_receive_apodization()NotATransducer.get_transmit_apodization()NotATransducer.grid_sizeNotATransducer.indexed_active_elements_maskNotATransducer.indexed_elements_maskNotATransducer.input_signalNotATransducer.isfield()NotATransducer.maskNotATransducer.number_active_elementsNotATransducer.retract_grid()NotATransducer.scan_line()NotATransducer.steering_angleNotATransducer.steering_angle_maxNotATransducer.transmit_apodization_mask
kWaveTransducerSimplemake_pos_int()
- kwave.options module
- kwave.recorder module
RecorderRecorder.IRecorder.I_avgRecorder.__init__()Recorder.get_allowed_flags()Recorder.is_set()Recorder.pRecorder.p_finalRecorder.p_maxRecorder.p_max_allRecorder.p_minRecorder.p_min_allRecorder.p_rmsRecorder.set_flags_from_list()Recorder.set_index_variables()Recorder.uRecorder.u_finalRecorder.u_maxRecorder.u_max_allRecorder.u_minRecorder.u_min_allRecorder.u_non_staggeredRecorder.u_rmsRecorder.u_split_field
Module contents#
- binaries_present()[source]#
Check if binaries are present :returns: bool, True if binaries are present, False otherwise
- Return type:
bool
- download_binaries(system_os, bin_type)[source]#
Download binary from release url :param system_os: string, current system type :param bin_type: string of “OMP” or “CUDA”
- Returns:
None
- Parameters:
system_os (str) –
bin_type (str) –