midas-snapshot
Still-frame diffraction time series, where the sample does not rotate: monochromatic beam, an area detector, one frame or a series. The patterns are spotty or sparse, so radial lineouts lose the signal.
For each window of frames, the pipeline:
- fits one isotropic scale of a known matrix phase from its rings (a relative thermometer);
- computes a diffuse-halo index (melt / amorphous indicator);
- detects spots with a background model that is local and a threshold calibrated on noise-only images;
- places each spot relative to the matrix lines.
Downstream stages:
- choose before/after windows from the traces by a stated rule;
- merge repeated detections into features, and test "present before / absent after" on raw photon counts;
- test candidate cells with a null and automatically generated negative controls;
- measure the detection limit by injecting synthetic spots into real frames.
midas-snapshot init --frames DIR --geometry params.txt --out OUT --matrix-cif matrix.cif \
--halo-band 2.9 3.2 --base-band 1.9 2.2 --tth-max 12
midas-snapshot run OUT/snapshot_config.json
midas-snapshot analyse OUT/snapshot_config.json --candidates cand1.cif cand2.cif --controls
midas-snapshot report OUT/snapshot_config.json
What the method cannot do:
- It cannot give an absolute temperature: thermal and uniform elastic dilatation shift peaks identically.
- It cannot give a strain tensor from one still.
- It cannot identify a phase from one line.
- A passing candidate identifies a cell and pattern, not a chemistry.
The procedure and its measured limits are in manuals/snapshot-xrd/.
Metadata
Release files for midas-snapshot 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| midas_snapshot-0.1.0.tar.gz | 34.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| midas_snapshot-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 64.5 kB
Release files / midas_snapshot-0.1.0.tar.gz
| Download URL | midas_snapshot-0.1.0.tar.gz |
|---|---|
| Size | 34.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26e578d729c83ae6c26980d1705bed5e2844f4b884a0cc0ba5731d37bf168bd4
|
|
BLAKE2b-256 checksum How to use checksums |
6e5d7db20ba861fb1db57562929abba3868d8f557b286678238675aaa5af1f9c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 30, 2026.
Transparency logRelease files / midas_snapshot-0.1.0-py3-none-any.whl
| Download URL | midas_snapshot-0.1.0-py3-none-any.whl |
|---|---|
| Size | 30.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
411fab0ace896ea435973d1e7fbc8cae48542b4b042a6dafde843bd66eb13204
|
|
BLAKE2b-256 checksum How to use checksums |
8bc8c8040e51f0810b2e872bed18b330fb55c73fa9d2dbd4b81af5426f33dc27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 30, 2026.
Transparency log