Skip to main content

Remote call to MDSplus objects

Project description

mdsConnector

Connect to remote MDSplus server via SSH in python and use MDSplus python objects remotely

This module requires the rpyc module to be installed on the local host. The MDSplus software package is not needed on the local host but you can utilize all of the MDSplus python objects remotely on the server you connect to. The data remains on the remote system unless you retrieve an instance of a python primitive object or an numpy array.

The following example demonstrates how this can be used.

>>> from mdsconnector import mdsConnector
>>> c = mdsConnector('hostname')
>>> t = c.Tree('mytree',42)
>>> n = c.getNode('\top:signal')
>>> rec = n.record
>>> nmpyarray = rec.data()
>>> ans = c.Data.execute('$ * 10',nmpyarray).data()

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

mdsconnector-1.8.1.tar.gz (15.3 kB view hashes)

Uploaded Source

Built Distribution

mdsconnector-1.8.1-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

Supported by

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