Skip to main content

splotter

PyPI Tests License: MIT

Read SPEC scan files from the command line: list scans, pull values by column name, look up metadata and draw mesh maps that combine several scans.

Three mesh scans and two line scans of a made-up SPEC file on one map, with the unmeasured area hatched gray

Three meshes and two line scans of the made-up file from splotter demo, on one map (reproduce the figure).

The name comes from splot, the plotting command in SPEC. splotter is an independent project and is not affiliated with or endorsed by Certified Scientific Software, the makers of SPEC.

Install

Requires Python 3.13 or later. Install it as a command with uv tool install splotter or pip install splotter, or create a small uv project:

uv init --no-workspace --python 3.13 splotter-demo
uv add --directory splotter-demo splotter

Quick start

No measured data ships with splotter. splotter demo writes a made-up SPEC file, the same one every time. Run this from the directory where you created splotter-demo:

$ uv run -q --directory splotter-demo splotter demo demo.spec
wrote demo.spec
wrote demo_fwhm.csv
$ uv run -q --directory splotter-demo splotter info demo.spec 1 -c imtot Sample_X Sample_Y --top 1 --csv
point,imtot,Sample_X,Sample_Y
301,97699.0,0.4,-0.3

That is the brightest point of the mesh in scan 1. Every command takes the SPEC file first:

splotter info FILE --last 20                 # scan list: start time, duration, points, command
splotter info FILE 2032 669                  # time, motors and counters of one point
splotter info FILE 2032 -c imtot Sample_X    # values by column name
splotter info FILE 2032 --meta               # #T, #Q, #R lines and #UXML metadata
splotter mesh FILE 2032 2036 --log           # map of several scans
splotter probe FILE 2614 2616 --log          # the same map: hover a cell for its values, click to print them
splotter rock FILE 2033 --counter imroi1     # rocking curve

Documentation

Development

uv sync
uv run pytest
uv run ruff check
uv run ruff format --check

License

MIT, see LICENSE.

Metadata

Release files for splotter 0.1.4

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

Source distribution (sdist)

Source distribution for splotter 0.1.4
File Size Uploaded Provenance Actions
splotter-0.1.4.tar.gz 23.4 kB With provenance Details for splotter-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for splotter 0.1.4
File Interpreter ABI Platform Actions
splotter-0.1.4-py3-none-any.whl Python 3 none any Details for splotter-0.1.4-py3-none-any.whl

Total release size: 51.9 kB

Release files / splotter-0.1.4.tar.gz

Download URL splotter-0.1.4.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
42de24e572713f4052f58e5ea46902bf4fa688e4a95373fab3077a74ef2b30d6
BLAKE2b-256 checksum
How to use checksums
d6eb2cdc8fa6c88651d2c12a0141d0df850be6b00d36421ba78281403603bb9d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / splotter-0.1.4-py3-none-any.whl

Download URL splotter-0.1.4-py3-none-any.whl
Size 28.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9dbb8498fecb32f048a7ce9194cd289bb24ff9adda948a26fe17e8d153f6631d
BLAKE2b-256 checksum
How to use checksums
ce0be05fbec20fd3dc56d59a823ff98d07b8962f8b10868879ce0e2922f2d799
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for splotter 0.1.4

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for splotter-0.1.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

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