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 details)
Built Distribution
File details
Details for the file mdsconnector-1.8.1.tar.gz
.
File metadata
- Download URL: mdsconnector-1.8.1.tar.gz
- Upload date:
- Size: 15.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3a6759b4e82a4fe49c709a61cae2abaa2ee4447fd2bd8303db96d7672f88d48 |
|
MD5 | a7206f5b0191ded17e4dc0e928f107f7 |
|
BLAKE2b-256 | d2d792302518495f6431fbbeb6b3e7f388b99adebc3162385bc1e5168b179088 |
File details
Details for the file mdsconnector-1.8.1-py3-none-any.whl
.
File metadata
- Download URL: mdsconnector-1.8.1-py3-none-any.whl
- Upload date:
- Size: 15.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 146d986225a2c677453920133a603f99fec8f38d27fbc37715a600cab45063d6 |
|
MD5 | ddd1f7bbcb098724446b11d7452c2591 |
|
BLAKE2b-256 | afe17bec68596a3734d159514681d68167b43833de65be4ea2888c862e0b0d00 |