Skip to main content

Package for the SAMPLE method

Project description

Spectral Analysis for Modal Parameter Linear Estimate

GitHub Workflow Status (branch) Coverage Pylint PyPI version

Install

You can install the sample package from PyPI via pip

pip install lim-sample

Available extras are

  • plots: for plotting utilities
  • notebooks: for running notebooks
  • gui: for running the GUI

GUI

If you don't want write code to use SAMPLE, you can use the graphical user interface

Please, note that the GUI is still in its alpha release phase

Windows

For Windows, a stand-alone executable is available. You can download the latest version from GitHub:

You can change the theme of the GUI (e.g. use a dark theme) this way:

  • Create a shortcut to the SAMPLE.exe file (right-click on the file and select Create shortcut)
  • Right-click on the shortcut and open Properties
  • In the Shortcut tab, go to Target (it should be set to the path of the SAMPLE.exe file, e.g. C:\Users\User\Downloads\SAMPLE.exe)
  • Add the theme option --theme <theme name> after the file path. E.g. if you want to use the theme equilux, you should add --theme equilux
  • That's it, you can run it by clicking on the shortcut!

For a full list of supported themes go to ttkthemes.readthedocs.io.
The default theme for Windows is Arc. Suggested dark theme is Equilux.

Python

You can install the GUI from the command line with Python via pip.
It is recommended run these commands in a virtual environment in
order to to keep your system clean

pip install lim-sample[gui]==1.5.0a2

To run the GUI from the command line, run

python -m sample.gui

You can change the theme of the GUI (e.g. use a dark theme) by specifying a theme option

python -m sample.gui --theme <theme name>

E.g. if you want to use the theme equilux, you should run

python -m sample.gui --theme equilux

For a full list of supported themes go to ttkthemes.readthedocs.io.
The default theme is Radiance for Linux and Arc for all other systems.
Suggested dark theme is Equilux.

Documentation

API documentation can be found online here:

https://limunimi.github.io/SAMPLE/

Source code

Source code is available on GitHub

https://github.com/limunimi/sample

Notebooks

For learning to use the package, you can refer to the interactive notebooks in the notebooks folder

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lim-sample-1.5.0a2.tar.gz (27.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page