Skip to main content

NOMAD Camels driver for derived hannels

This is a special driver for NOMAD CAMELS. It can be used to directly calculate values from other channels inside CAMELS.

How to use

You may add an arbitrary number of channels to each instance of this instrument. Each channel can be configured either as readable or writable.

When you make the channel readable, you need to select which channels it depends on. The calculation formula should then depend on these channels.

A writable channel may only write to a single channel. The calculation formula is then, how the output is scaled. In that case, use x for the value written to the newly defined channel. For example when you want to define a new channel scaled that writes to the channel channel1 of some instrument, you can write x * 5 so when scaled is set to 2, channel1 will be set to 10.

Alternatively, you can define a python function inside any file and select "From File" for the conversion (either read or write). Then select the file and set the name of the function that should be used for the conversion.

  • For writing: The function may take only one argument (which will be the set value) and should return one value.
  • For reading: Make sure that the function takes the read channels as arguments, for example:
def read_conversion(read_channel_1, read_channel_2):
    return read_channel_1 + read_channel_2

or

def read_conversion(**values):
    return values['read_channel_1'] + values['read_channel_2']

Documentation

For more information on NOMAD CAMELS and instruments visit the documentation.

Changelog

0.1.3

Made custom python functions more robust when the file is removed

0.1.2

Added functionality to use custom python functions.

Metadata

Release files for nomad-camels-driver-derived-channels 0.1.3

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

Source distribution (sdist)

Source distribution for nomad-camels-driver-derived-channels 0.1.3
File Size Uploaded Provenance
nomad_camels_driver_derived_channels-0.1.3.tar.gz 17.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nomad-camels-driver-derived-channels 0.1.3
File Interpreter ABI Platform
nomad_camels_driver_derived_channels-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 35.7 kB

Release files / nomad_camels_driver_derived_channels-0.1.3.tar.gz

Download URL nomad_camels_driver_derived_channels-0.1.3.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6edc5dc016fc1149438824e71ff8fac42e709fb22c5be709d6a1a36dbe939f9e
BLAKE2b-256 checksum
How to use checksums
89ee2852acd906eedf7adf2be399054c65457bade72269f83e3b85a8008c7c40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Release files / nomad_camels_driver_derived_channels-0.1.3-py3-none-any.whl

Download URL nomad_camels_driver_derived_channels-0.1.3-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab3397826519e000234a8b50c89252c14e3372bb4d230cf28432c5e3cec9f614
BLAKE2b-256 checksum
How to use checksums
33ee8b75d9107187d7f995b550b74fd6b57d1ff8a6e7cbad9022ad864c956d0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.4

Security for nomad-camels-driver-derived-channels 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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