This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This is a Python class named "ObjectWithSettings" that serves as a base | |
class for other classes to inherit from. It allows objects to add | |
settings as dictionary items and access them using keys as well as | |
attributes. The class contains methods for adding a setting, setting an | |
attribute, getting the settings dictionary as a property, and getting a | |
flattened dictionary of all settings, including nested settings. | |
""" | |
from adict import adict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This code is a quick reproduction of eq. (9) of | |
# "Mathematical Analysis of Ultrafast Ultrasound Imaging" by Alberti ed at. 2016. | |
# https://arxiv.org/pdf/1604.04604.pdf | |
# | |
# It represents an approximate point spread function for Plane Wave Imaging that can be | |
# used to write a simple, yet powerful, 2D Plane Wave ultrasound simulator using spatially-variant | |
# convolutions. | |
# | |
# The function is fully differentiable. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.