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                     # mesh 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.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 splotter 0.1.3
File Size Uploaded Provenance Actions
splotter-0.1.3.tar.gz 22.9 kB With provenance Details for splotter-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 51.2 kB

Release files / splotter-0.1.3.tar.gz

Download URL splotter-0.1.3.tar.gz
Size 22.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a3ea17f71fddf4a2af12117f4e4f9b7377ac1e3b6d14d73dc4ee252d07a7de98
BLAKE2b-256 checksum
How to use checksums
93ed47da881b37454e67ceb6bed0e41fca1b008da65466bd8cdd3d848ecf4f33
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.3-py3-none-any.whl

Download URL splotter-0.1.3-py3-none-any.whl
Size 28.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d6d7263d00f4f2e4e2cee26604acc136a5d23ea53c4f5a69dd4bf846847f5e3
BLAKE2b-256 checksum
How to use checksums
9c6d10ffd1fb6e50903a95fe9b7827f34d18baaf0812baa11e2aeef826c98e50
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.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.

Full provenance

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

Select from 2 files

Attestation for splotter-0.1.3.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