Installation#

OSAFT is available on PyPI. Install Python (3.9 or newer) and run the following command in your command-line interface

pip install osaft

OSAFT is updated to the latest available version via

pip install osaft --upgrade

Run the following command in order to remove the package from your system

pip uninstall osaft

From now on you can import the OSAFT package in any Python script you like via

  ...
  import osaft

  yosioka = osaft.yosioka1955.ARF(
     f=1e6,
     R_0=1e-6,
     rho_s=1.225, c_s=343,
     rho_f=997, c_f=1_4987,
     p_0=1e5,
     wave_type=osaft.WaveType.STANDING,
     position=0,
)
  ...