Skip to main content

RadynPy

IMPORTANT NOTE

This is an early development release of RadynPy, a nascent suite of tools to allow analysis of Radyn simulations to be performed in Python. It contains a minimal set of features to perform analysis of Radyn CDF files, and produce contribution functions.

If you don’t know what Radyn is, then this package is probably not aimed at you!

The easiest way to load a CDF file is to use radynpy.cdf.LazyRadynData. An object can be constructed by passing the path to a Radyn CDF file. Data is loaded lazily as it is requested. The normal keys of this file can then be accessed by . notation (e.g. data.tg1). To look at the indexing convention and the data layout (which is different to IDL due to handling of the record time axis), the functions index_convention, and for information on a specific variable, or set of variables, var_info can be used. var_info takes a string or list of strings for the variables of interest (this string may be ‘*’ to print information on all variables).

The class radynpy.cdf.RadynData also exists, it takes the path to a CDF file, and a list of keys to be loaded (or ‘*’ for everything). It performs similarly to LazyRadynData, but a key that was not requested at construction will not be loaded.

NOTE: By default both RadynData and LazyRadynData expect a filename in the F-CHROMA style (i.e. with the heating parameters), if your filename does not fit this style then both classes take a parseFilenameParams=False kwarg.

Contribution functions can be plotted using radynpy.matsplotlib.contib_fn. See the extensive docstring of this function for more information. Utilities used in the calculation of the contribution function can be found in radynpy.matsplotlib.utils and radynpy.matsplotlib.opacity. For the most part these are very simple functions and classes that mirror the counterparts in the Radyn software distribution produced by M. Carlsson.

Release files for radynpy 0.6.0

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

Source distribution (sdist)

Source distribution for radynpy 0.6.0
File Size Uploaded
radynpy-0.6.0.tar.gz 10.0 MB Details

Built distribution (wheel)

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

Total release size: 20.0 MB

Release files / radynpy-0.6.0.tar.gz

Download URL radynpy-0.6.0.tar.gz
Size 10.0 MB
Tags Source
SHA-256 checksum
How to use checksums
5e024d6aaa9f3a69d79ff5a677031c6a25dbf99384d0d60a9f9969332943b398
BLAKE2b-256 checksum
How to use checksums
30080aead8a0b5bff9b406f931138b638cf35a1e72afafbfe15eec679f7e2cb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / radynpy-0.6.0-py3-none-any.whl

Download URL radynpy-0.6.0-py3-none-any.whl
Size 10.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e285016b51dcf06ed26ccbde8df1e37f7837ff8287e4e21d9fb41064dbb26fcd
BLAKE2b-256 checksum
How to use checksums
50a2ea18c5248823b799a7550c75356b8aadc593214f01b98b1c5c240c8b4003
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

1 release file

0.3.5

1 release file

0.3.4

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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