Skip to main content

A package for reading, manipulating and eventually writing files output from TICRA Tools GRASP and CHAMP software using numpy etc.

Project description

A package for reading, manipulating and eventually writing files output from TICRA Tools GRASP and CHAMP software using numpy etc.

  • Free software: MIT license

Installation

pip install python-graspfile

You can also install the latest release candidate version with:

pip install --index-url https://test.pypi.org/simple/ python-graspfile

You can install the latest in-development version with:

pip install https://github.com/Smithsonian/python-graspfile/archive/master.zip

Documentation

https://python-graspfile.readthedocs.io/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.3.5 (2020-10-01)

  • Add functions for calculating reflectance and transmission - useful for correcting for lack of AR coatings in GRASP PO calculations of lens and dielectrics.

0.3.4 (2020-10-01)

  • Add scaling of fields and grids by factors

0.3.3 (2020-09-30)

  • Bug fixes to plot

0.3.2 (2020-09-30)

  • Add useful functions and functionality for plotting and combining different grids and fields in plot submodule.

0.3.1 (2020-09-21)

  • Adds a method for summing fields within a grid object (e.g. to make an incoherent sum over frequencies) and a function for adding grid (e.g. to add one analysis output to another).

0.3.0 (2020-06-21)

  • Introduce analysis submodule

0.2.0 (2020-04-28)

  • Change ownership of repo to Smithsonian GitHub team

  • Incorporate .tor file parsing

0.1.3 (2020-03-10)

  • Packaging changes to allow automated pushes to PyPI and TestPyPI

0.1.2 (2020-03-10)

  • More bug fixes to work with older GRASP 10.0 cut files

0.1.1 (2020-03-18)

  • Initial bug fixes to work with older GRASP 10.0 cut files

0.1.0 (2020-03-18)

  • Initial attempts to work with older GRASP 10.0 files

0.0.1 (2020-02-04)

  • Initial creation from PaulKGrimes/GraspFile and PaulKGrimes/CHAMPEdxFile repos

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

python-graspfile-0.4.1.tar.gz (2.1 MB view hashes)

Uploaded Source

Built Distribution

python_graspfile-0.4.1-py2.py3-none-any.whl (20.1 kB view hashes)

Uploaded Python 2 Python 3

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