Installation guide

Install possibilities

Below are several installation possibilities.

Install from a GitHub release

To install from a GitHub release tagged as version vX.Y.Z, run:

pip install https://github.com/vinceECN/OSCILATE/archive/refs/tags/vX.Y.Z.tar.gz

Install from the repository (latest version)

To install the latest version directly from the GitHub repository, run:

git clone https://github.com/vinceECN/OSCILATE.git
cd OSCILATE
pip install .

Dependencies

  • Python 3.8 or higher is required.

  • For development or building documentation, install additional dependencies:

    pip install -r requirements-dev.txt
    pip install -r docs/requirements.txt
    

Test the install

To test the install, follow these steps:

  1. Open a Python environment. Ideally one powered by Jupyter (see Outputs section) to display results as \(\LaTeX\).

  2. In the documentation, go to Application Examples/Example 1,

  3. Copy the example code,

  4. Run the example code in your Python environment.

  5. You should see information about the ongoing computations.

  6. After the code is ran (a few seconds should be enough), figures of the forced response and its stability information are displayed.

  7. To access the analytical solutions computed, type, for instance, ss.sol.fa. They will be displayed as \(\LaTeX\) if the Python environment supports its.