Skip to main content

MAST python wrapper for UDA

Project description

uda-mast is a wrapper around the basic pyuda data access layer that provides additional functinality specific to the data systems for UKAEA's MAST and MASTU experimental fusion devices.

Note that the source code is currently hosted on an internal gitlab server that can only be accessed from the UKAEA network.

Quickstart

Note that the mast module is registered subclient in pyuda, so if uda-mast is pip-installed it's functionality will be available when you import pyuda.

export UDA_META_PLUGINNAME=MASTU_DB
export UDA_METANEW_PLUGINNAME=MASTU_DB
import pyuda

pyuda.Client.server = "<server_address>"
pyuda.Client.port = <port_number>
client = pyuda.Client()

signals = client.list_signals(shot=<experiment_id>)
signal_objects = client.get_batch(signals, <experiment_id>)

image_data = client.get_images(<file_alias>, <experiment_id>)

geometry_data = client.geometry(<signal_name>, <experiemnt_id>)

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

uda_mast-1.3.10.post8.tar.gz (5.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

uda_mast-1.3.10.post8-py3-none-any.whl (5.8 MB view details)

Uploaded Python 3

File details

Details for the file uda_mast-1.3.10.post8.tar.gz.

File metadata

  • Download URL: uda_mast-1.3.10.post8.tar.gz
  • Upload date:
  • Size: 5.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for uda_mast-1.3.10.post8.tar.gz
Algorithm Hash digest
SHA256 53e72107f8ddff45da26a254b3750ffe3a95d5a274ec47234848ba30d7ae1966
MD5 4b6cd58e89587a54ae835218a79d6cbd
BLAKE2b-256 286bf35808106d73acd2d10ddf220c76b52ea0cbfb6084b8b81bf8cc2e2a5eae

See more details on using hashes here.

File details

Details for the file uda_mast-1.3.10.post8-py3-none-any.whl.

File metadata

File hashes

Hashes for uda_mast-1.3.10.post8-py3-none-any.whl
Algorithm Hash digest
SHA256 00ed6c5425e530b0ca20e88dcc2c931d05215fcaf8463bd4c182ba4b12280435
MD5 4d9f17e38c778846141f3521d0d606da
BLAKE2b-256 494760c07bd54b9e6621e70bbaab7f096cc6f70f442c25ea418e0a1c2cbf8d3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page