SHIELD permeation rig data aquisition system
Project description
SHIELD permeation rig Data Aquisistion System
This is a tool to be used with the SHIELD hydrogen permeation rig, providing a way to both record data from the rig and have a live UI displaying plots of the pressure values in the gauges connected to the rig and the temperature of the connected thermocouple.
Installation
The shield DAS package can be downloaded with pip
pip install SHIELD-DAS
However, in order to interact with the Labjack, additional drivers are required from the manufacturers site.
Example data recording script
This is an example of a script that can be used to activate the DAS.
from shield_das import (
DataRecorder,
WGM701_Gauge,
CVM211_Gauge,
Baratron626D_Gauge
)
# Define gauges
gauge_1 = WGM701_Gauge(
gauge_location="downstream",
ain_channel=10,
)
gauge_2 = CVM211_Gauge(
gauge_location="upstream",
ain_channel=8,
)
gauge_3 = Baratron626D_Gauge(
name="Baratron626D_1KT",
gauge_location="upstream",
full_scale_torr=1000,
ain_channel=6,
)
gauge_4 = Baratron626D_Gauge(
name="Baratron626D_1T",
gauge_location="downstream",
full_scale_torr=1,
ain_channel=4,
)
# Create recorder
my_recorder = DataRecorder(
gauges=[gauge_1, gauge_2, gauge_3, gauge_4],
thermocouples=[thermocouple_1],
run_type="test_mode",
recording_interval=0.5,
backup_interval=5,
furnace_setpoint=500,
)
# Start recording
my_recorder.run()
Example data visulisation script
from shield_das import DataPlotter
data_500C_run1 = "results/08.12/run_2_11h45/"
data_500C_run2 = "results/08.18/run_2_09h47/"
data_500C_run3 = "results/08.19/run_2_09h21/"
data_500C_run4 = "results/08.25/run_1_09h07/"
my_plotter = DataPlotter(
dataset_paths=[data_500C_run1, data_500C_run2, data_500C_run3, data_500C_run4],
dataset_names=["500C_run1", "500C_run2", "500C_run3", "500C_run4"],
)
my_plotter.start()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shield_das-0.2.tar.gz.
File metadata
- Download URL: shield_das-0.2.tar.gz
- Upload date:
- Size: 49.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f027bcd3a4decb90b22b4a7e1666d11e03779e063afafa2812ad8874e3e054e
|
|
| MD5 |
1821ef54bc7708fae5ba8c4d6b50fe99
|
|
| BLAKE2b-256 |
b58f171fe177253166e6f77c15a3b002cd68de35cf8f92b3c3cbc8910af76de4
|
Provenance
The following attestation bundles were made for shield_das-0.2.tar.gz:
Publisher:
python-publish.yml on PTTEPxMIT/SHIELD_DAS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shield_das-0.2.tar.gz -
Subject digest:
7f027bcd3a4decb90b22b4a7e1666d11e03779e063afafa2812ad8874e3e054e - Sigstore transparency entry: 434794645
- Sigstore integration time:
-
Permalink:
PTTEPxMIT/SHIELD_DAS@fffd0b652dcf9a38223fbbebcef08adb3cd3b2c4 -
Branch / Tag:
refs/tags/v0.2 - Owner: https://github.com/PTTEPxMIT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fffd0b652dcf9a38223fbbebcef08adb3cd3b2c4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file shield_das-0.2-py3-none-any.whl.
File metadata
- Download URL: shield_das-0.2-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
042449a67666636ab4f6c266b465e1dd9570d4bf04571c61332b61c6c9e53be3
|
|
| MD5 |
03c13cedbd3124b9bc8b88543524c2c2
|
|
| BLAKE2b-256 |
ff1448c5727a928ddb2294a68e29867db4cc5f6db7badaa905fc20c743bcd5cd
|
Provenance
The following attestation bundles were made for shield_das-0.2-py3-none-any.whl:
Publisher:
python-publish.yml on PTTEPxMIT/SHIELD_DAS
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shield_das-0.2-py3-none-any.whl -
Subject digest:
042449a67666636ab4f6c266b465e1dd9570d4bf04571c61332b61c6c9e53be3 - Sigstore transparency entry: 434794698
- Sigstore integration time:
-
Permalink:
PTTEPxMIT/SHIELD_DAS@fffd0b652dcf9a38223fbbebcef08adb3cd3b2c4 -
Branch / Tag:
refs/tags/v0.2 - Owner: https://github.com/PTTEPxMIT
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@fffd0b652dcf9a38223fbbebcef08adb3cd3b2c4 -
Trigger Event:
release
-
Statement type: