Skip to main content

ShgPy

DOI

ShgPy is a simple toolkit for analyzing rotational-anisotropy second harmonic generation (RA-SHG) data. It depends mainly on three packages, NumPy, SciPy, and SymPy -- as well as (optionally) Matplolib for some basic plotting capability -- to simulate, manipulate, and fit RA-SHG data in a (hopefully!) intuitive way.

Fitting RA-SHG data involves solving a complex global minimization problem with many degrees of freedom. Moreover, the fitting functions naively involve a degree of complexity due to the trigonometric nature of the problem. This software therefore takes a dual approach to fitting RA-SHG data -- first of all, all of the fits are done in Fourier space, which significantly reduces the complexity of the fitting formulas, and second of all, ShgPy makes heavy use of the scipy.optimize.basinhopping algorithm, which is particularly useful for these types of global optimization problems.

For more information, please see the tutorials and documentation.

Metadata

Release files for shgpy 0.8.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shgpy 0.8.6
File Size Uploaded Provenance Actions
shgpy-0.8.6.tar.gz 10.8 MB Without provenance Details for shgpy-0.8.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for shgpy 0.8.6
File Interpreter ABI Platform Actions
shgpy-0.8.6-py3-none-any.whl Python 3 none any Details for shgpy-0.8.6-py3-none-any.whl

Total release size: 10.9 MB

Release files / shgpy-0.8.6.tar.gz

Download URL shgpy-0.8.6.tar.gz
Size 10.8 MB
Tags Source
SHA-256 checksum
How to use checksums
24f0c70c364dbc272f1e5d71befa4313a4c82a93c03d0fb774cf93779e31cbb1
BLAKE2b-256 checksum
How to use checksums
8888042d65559b6048a9b9ed7455269b7c346ccf1869b90497001e5b35aa4518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / shgpy-0.8.6-py3-none-any.whl

Download URL shgpy-0.8.6-py3-none-any.whl
Size 45.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
092de72d1d018a4ba461a06ecab692ef576499ad0e07996459fee34d25bd018c
BLAKE2b-256 checksum
How to use checksums
82a65ab9aa821ebd7a904ad51b1f15a0de1424e4952069c9c78697f98accc53f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for shgpy 0.8.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.8.6 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page