Skip to main content

Overview

Library based on matplotlib (>=3.3) to draw the pyrochlore lattice (corner-sharing tetrahedra) and configurations of the Spin Ice model.

Installation

$ pip install pyrodraw

Basic usage

It can, and probably should, be executed as a script:

python -m pyrodraw [<parameters>...]

and follow the instructions which appear on the screen.

Depending on the parameters supplied:

  • No arguments: draws only the pyrochlore lattices and adds details such as names to the axes.
  • '+ z': draws the spin ice +z configuration.
  • 'ms': draws the saturation configuration with the field at [111], with positives simple monopoles in all Up Tetrahedra.
  • 'md': draws the configuration with positive double monopoles in all Up Tetrahedra.
  • Name of a file along with a column number: the data is obtained from it to draw the configuration.

It's also possible to import it and use it to draw more specific configurations.

Possible general improvements

The following are things I didn't know how to do it properly by the time I built the library, and for the purpose of the project it didn't worth changing them when I published it.

  • The documentation is not properly done (doesn't follow a docstring convention), and it's in spanish.
  • It probably should use argparse for managing the arguments.

ToDo

  • Add a circle path as a bottom lid for the arrows.
  • Be possible to annotate the field direction when using the field arrow.

Metadata

Release files for pyrodraw 1.1.4.post13

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

Source distribution (sdist)

Source distribution for pyrodraw 1.1.4.post13
File Size Uploaded Provenance Actions
pyrodraw-1.1.4.post13.tar.gz 14.1 kB Without provenance Details for pyrodraw-1.1.4.post13.tar.gz

Built distribution (wheel)

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

Total release size: 34.7 kB

Release files / pyrodraw-1.1.4.post13.tar.gz

Download URL pyrodraw-1.1.4.post13.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6f1b2e983a95bd67a4a5dee224bb973de92e993d526afa208c96be0d4c0c9e01
BLAKE2b-256 checksum
How to use checksums
32de105c388c1906aee2183df72643a8ec6f5f9aa69d21eb5472a6a5dbe452a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1032-azure

Release files / pyrodraw-1.1.4.post13-py3-none-any.whl

Download URL pyrodraw-1.1.4.post13-py3-none-any.whl
Size 20.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68ce077314cac72662f47d434d22f79b545f3259e8b0b53ed21c6412b2b7a4a8
BLAKE2b-256 checksum
How to use checksums
1faeb3a65abd8016e2de1cd82a7cbd63cbdaf561de7da132412a590ce492a701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.9.1 Linux/5.4.0-1032-azure

Security for pyrodraw 1.1.4.post13

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.

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