Introduction
This package wraps miriad (http://www.atnf.csiro.au/computing/software/miriad/) commands into python functions. It also wraps the documentation for miriad tasks.
Note that one exception to the miriad conventions is the keyword/parameter ‘in’ which can’t be used in python. Use something like ‘In’, ‘IN’ or ‘_in’ instead.
Example
Simple
>>> from mirpy import miriad >>> help(miriad.uvindex) >>> print miriad.uvindex(vis='myvis.uv')
Advanced
Create filter function to turn miriad stdout text into something useful. This example is not really useful and just demonstrates the usage. It turns the miriad output string into a list of lines in the string and returns it. More useful examples would be turning some output into python values you can work with later.
>>> from mirpy import miriad
>>> def uvindex_filt(output):
... return output.split('\n')
>>> # without filter
>>> print miriad.uvindex(vis='myvis.uv')
>>> # register filter function
>>> miriad.set_filer('uvindex', uvindex_filt)
>>> # with filter
>>> print miriad.uvindex(vis='myvis.uv')
Metadata
Release files for mirpy 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mirpy-0.3.1.tar.gz | 4.6 kB | Without provenance | Details for mirpy-0.3.1.tar.gz |
Release files / mirpy-0.3.1.tar.gz
| Download URL | mirpy-0.3.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e392ef1b9670678b441a3d5c766ad2b42100df7e8f04015aa659e398cfa2f04e
|
|
BLAKE2b-256 checksum How to use checksums |
3a877a75067db67064d977750629249d9cba64b48304c8bace804b78c97c5a7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mirpy 0.3.1
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.