Requirements
- Python 3.10+
pycroscopy- The
dataeraiPython SDK (pip install dataerai-sdk) - The
dataeraibinary on yourPATH(install the CLI) - Signed in with
dataerai auth login(see Authenticate)
Install
Preserve a result and link its provenance
Save your processed pycroscopy output to a file, upload it as a new asset, then link the new asset to the raw measurement withcreate_relationship:
What gets saved
- The processed file as the asset’s content.
- The
title,tags, and anymetadatadict you pass — a natural place to record the workflow name, parameters, input shape, dtype, and othersidpy.Datasetsummary fields. - A directed provenance relationship from the new asset to its source asset.
analysis_of when the output is an analysis result, or derived_from for a processed output. See Provenance & relationships for the relationship model, and the Python SDK reference for the full create_relationship signature.
Next steps
Python SDK
Upload, download, metadata, and relationship methods.
Provenance & relationships
How relationships model data lineage.