Skip to main content

GUI for nanoindentation data

Project description

micromechanics-indentationGUI

Install

Create a new environment (python >= 3.8) using Anaconda Navigator (https://www.anaconda.com/). In Anaconda's documentation (https://docs.anaconda.com/free/navigator/) you will learn:

  • how to install Anaconda Navigator in the section of "Anaconda Navigator => Installation" (reading takes ~5 min),
  • how to create and activate a new environment in the section of "Anaconda Navigator => Tutorials => How to create a Python 3.5 environment from Anaconda2 or Anaconda3" (reading takes ~5 min).

In the terminal of the environment created by Anaconda Navigator, keyboard type the following command and press Enter

pip install micromechanics-indentationGUI

Upgrade

In the terminal, keyboard type the following command and press Enter

pip install --upgrade micromechanics-indentationGUI

Usage

Users need to know:

  • For fast reading using HDF5 files:
    • Using the given original file (e.g. the XLSX file for G200X), the HDF5 file will be automatically generated at the first calibration/calculation (or when an HDF5 file with the same name as the XLSX file does not exist).
    • The automatically generated HDF5 file has the same as the original file (e.g. the XLSX file for G200X) but the file extension of ".h5" and locates in the same folder as the original file.
    • The original file extension (e.g. '.xlsx' for G200X) should be given in the path instead of the file extension of the HDF5 file (".h5").

Running by keyboard typing the following command and pressing Enter in the terminal

micromechanics-indentationGUI

Uninstall

In the terminal, keyboard type the following command and press Enter

pip uninstall micromechanics-indentationGUI

More detailed descriptions for developers

Prepare and create a new version

  • Delete RecentFiles.txt in /indentationGUI/micromechanics_indentationGUI

  • Delete *.hf in /indentationGUI/micromechanics_indentationGUI/Examples

  • Set "# pylint: skip-file" for all files named "***_ui.py"

  • Test the code: linting, documentation and then the tests from the project's main directory

pylint micromechanics_indentationGUI/
make -C docs html
# python tests/testVerification.py

Then upload/create-pull-request to GitHub, via

./commit.py 'my message'

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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