Add card, checksums, index and previews
Browse files- PHerc0172-lasagnetta-meta.tar +3 -0
- README.md +79 -0
- SHA256SUMS +62 -0
- index.json +305 -0
- load_example.py +13 -0
- preview-xy.png +3 -0
- preview-xz.png +3 -0
PHerc0172-lasagnetta-meta.tar
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:470c02db6d4d39bb732f39ff458e41aa35196a022bba9b19de590f8aae915007
|
| 3 |
+
size 10240
|
README.md
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-nc-4.0
|
| 3 |
+
tags: [vesuvius-challenge, herculaneum, ct, lasagna, lasagnetta, ome-zarr]
|
| 4 |
+
pretty_name: PHerc0172 Lasagnetta field (a preview of villa's lasagna field)
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# PHerc0172 Lasagnetta field
|
| 8 |
+
|
| 9 |
+
A Lasagnetta preview of villa's lasagna field for the whole PHerc0172 scan, in villa's own layout, so you can point
|
| 10 |
+
lasagna or the spiral fit at it without running a model yourself. The open data has no lasagna field for this scroll.
|
| 11 |
+
|
| 12 |
+

|
| 13 |
+
|
| 14 |
+
## Get it
|
| 15 |
+
|
| 16 |
+
```bash
|
| 17 |
+
hf download SharpMeow/pherc0172-lasagnetta --repo-type dataset --local-dir pherc0172-lasagnetta
|
| 18 |
+
cd pherc0172-lasagnetta && sha256sum -c SHA256SUMS
|
| 19 |
+
for f in parts/*.tar; do tar -xf "$f"; done
|
| 20 |
+
tar -xf PHerc0172-lasagnetta-meta.tar # last: the whole-scan PHerc0172.lasagna.json and preview.json
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
You end up with `PHerc0172.lasagna.json` and `PHerc0172_{cos,grad_mag,nx,ny}.ome.zarr`, 136.4 GB in all.
|
| 24 |
+
|
| 25 |
+
## Load it
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
import json
|
| 29 |
+
import numpy as np
|
| 30 |
+
import zarr
|
| 31 |
+
|
| 32 |
+
meta = json.load(open("PHerc0172.lasagna.json"))
|
| 33 |
+
cos = zarr.open(meta["groups"]["cos"]["zarr"], mode="r") # cos, 2x down from the CT level read
|
| 34 |
+
nx = zarr.open(meta["groups"]["nx"]["zarr"], mode="r") # normals, 4x down; stored as v * 127 + 128
|
| 35 |
+
ny = zarr.open(meta["groups"]["ny"]["zarr"], mode="r")
|
| 36 |
+
z, y, x = 5176, 725, 1125 # a voxel on the normals' grid that holds data
|
| 37 |
+
a, b = (float(nx[z, y, x]) - 128) / 127, (float(ny[z, y, x]) - 128) / 127
|
| 38 |
+
c = np.sqrt(max(0.0, 1 - a * a - b * b)) # nz is not stored
|
| 39 |
+
patch = cos[2 * z, 2 * y:2 * y + 64, 2 * x:2 * x + 64] # the same place on the cos grid
|
| 40 |
+
print("normal", round(a, 3), round(b, 3), round(c, 3), "cos patch mean", float(np.mean(patch)))
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
`load_example.py` is this snippet; it was run on an unpacked part before upload.
|
| 44 |
+
|
| 45 |
+
## What it is
|
| 46 |
+
|
| 47 |
+
- Scan: PHerc0172, `20241024131838-7.910um-53keV-masked.zarr`, read at level 0 (7.91 um voxels), Vesuvius Challenge open data
|
| 48 |
+
- Model: [Lasagnetta](https://huggingface.co/SharpMeow/lasagnetta) 0.1.1, weights at revision 0f9ad8cd: the
|
| 49 |
+
release recipe (three students averaged, cos blur 0.5, cos offset 0.04)
|
| 50 |
+
- Code: [ChaseHendrick/Scrolls](https://github.com/ChaseHendrick/Scrolls) `scripts/lasagnetta` at a011d5e4, tile 320 x 576 x 576
|
| 51 |
+
- Channels: cos at OME-Zarr level 1 to 4 (2x down from the level read); grad_mag, nx, ny at level 2 to 4 (4x down)
|
| 52 |
+
- Run: 57 parts on Hugging Face Jobs (RTX PRO 6000), one x, y, z box each. Every part edge sits on a
|
| 53 |
+
multiple of 512 scan voxels, so every chunk of every level was written by exactly one part, and the parts together
|
| 54 |
+
are the whole field. Values are kept only where the masked scan holds CT; everywhere else is fill 0.
|
| 55 |
+
- Previews: xy at z about 10,480 and xz at y about 3,344 (full-resolution voxels), from OME-Zarr level 4.
|
| 56 |
+
|
| 57 |
+
## How close to villa
|
| 58 |
+
|
| 59 |
+
Lasagnetta copies villa's lasagna net and runs about 5 times faster. On 30 crops of this scan that no student had
|
| 60 |
+
trained on, it matched villa's sheet crossings at peak F1 0.852 (crossings matched within one cos voxel; 25
|
| 61 |
+
Oct 2026). The [model card](https://huggingface.co/SharpMeow/lasagnetta) has the method and the pooled numbers. The release's self-check, run on this whole volume before this field was made, pointed to villa's net here (median peak F1 over its spots under 0.82), so use this field as a quick look and run villa's `predict3d` where exact values matter.
|
| 62 |
+
|
| 63 |
+

|
| 64 |
+
|
| 65 |
+
## Notes
|
| 66 |
+
|
| 67 |
+
Model output: a preview of another model's output, not a reading of any text, and nobody has checked it by eye.
|
| 68 |
+
villa's own field stays the reference where exact values matter.
|
| 69 |
+
|
| 70 |
+
## Related
|
| 71 |
+
|
| 72 |
+
The [Lasagnetta guide](https://github.com/ChaseHendrick/Scrolls/blob/main/docs/tools/lasagnetta.md) shows how to run it on your own region, with a self-check that tells you where to
|
| 73 |
+
use villa's net instead. villa lasagna fields for ten more scans are on the [Lasagna Fields](https://huggingface.co/spaces/SharpMeow/lasagna-fields) page.
|
| 74 |
+
|
| 75 |
+
## Credit and terms
|
| 76 |
+
|
| 77 |
+
The scan is Vesuvius Challenge open data, CC BY-NC 4.0; this derived field is shared under the same terms. Lasagnetta
|
| 78 |
+
copies villa's lasagna ([ScrollPrize/villa](https://github.com/ScrollPrize/villa), weights
|
| 79 |
+
[scrollprize/lasagna](https://huggingface.co/scrollprize/lasagna), MIT); credit to its authors. Shared by Chase Hendrick.
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
470c02db6d4d39bb732f39ff458e41aa35196a022bba9b19de590f8aae915007 PHerc0172-lasagnetta-meta.tar
|
| 2 |
+
01832b5547c9eaaf590ac971776adecbde5e2e0a6c496280cc47634bb2b9fdbc index.json
|
| 3 |
+
bed2bfc6ce85a5d4b97643eddab5ec42eea57362c666edecb82384f573d35b19 load_example.py
|
| 4 |
+
7704af29b26d63c23a1f1a4a370dbd0b38abce7f407e6c23fe46bda0865eccd5 parts/PHerc0172-lasagnetta-t000.tar
|
| 5 |
+
65ec2894252bf1d1dda73125302cafba06e2aef485fb37debe4e21819df2547b parts/PHerc0172-lasagnetta-t001.tar
|
| 6 |
+
15124c3d709cb96ffb73c98d3ae47bda64d77f4770b5346f8b33ff510f67abca parts/PHerc0172-lasagnetta-t002.tar
|
| 7 |
+
aad29006ed462e026058ce4d7557b1f4b0281a1c1e2d8c212ab70b3c9a50afda parts/PHerc0172-lasagnetta-t003.tar
|
| 8 |
+
0c586c1a7de914bb8a076b6a21f1b903069650c9a0351666d71be0d1152df3ea parts/PHerc0172-lasagnetta-t004.tar
|
| 9 |
+
9dde9ab923bb6bd73b703a3d2e92eb989b5f59877a6391beeb5386fd1a837ba4 parts/PHerc0172-lasagnetta-t005.tar
|
| 10 |
+
ce3ed5ef0f55df2b5db600e26d53200609b8ad67ed0d282dd68ea8b58551dd86 parts/PHerc0172-lasagnetta-t006.tar
|
| 11 |
+
c9a91f717820e34b678706d695a07e025910be2161f82a6606f2963a15ba1da2 parts/PHerc0172-lasagnetta-t007.tar
|
| 12 |
+
f9455866bcdb48770ad81bfaaa64d3e5bd3227111a48a323944f427b36886179 parts/PHerc0172-lasagnetta-t008.tar
|
| 13 |
+
182277037ee912e22657d2d15b66da2d69206c5a5ab301c98a80da428a52159b parts/PHerc0172-lasagnetta-t009.tar
|
| 14 |
+
087038f5406ed57ad3a92b977827ee0cb7d5a3db808e8e3888e7cedf04ab242c parts/PHerc0172-lasagnetta-t010.tar
|
| 15 |
+
b0d44fcfe7bd8e6784831e79bfbc3f65abe3a034d685e5cb163b195b566af98c parts/PHerc0172-lasagnetta-t011.tar
|
| 16 |
+
5ff266bade8a0981d8e244f0645da2ce229a9cad0290192893e115dc68db12a7 parts/PHerc0172-lasagnetta-t012.tar
|
| 17 |
+
f5d0721e29cd858a92663efdc4af069974d9cf98c93f427c847be6bd74951ac3 parts/PHerc0172-lasagnetta-t013.tar
|
| 18 |
+
b211c6a65b21955ee5b0f1b0915c2bdb2aca65c017da7e86571f505849a691dc parts/PHerc0172-lasagnetta-t014.tar
|
| 19 |
+
0f7b95c0337490d29ecade5280c135ac7331680d9079a396af7f1b7a98a11f5a parts/PHerc0172-lasagnetta-t015.tar
|
| 20 |
+
b6f349b1b4b0969e350fa8b8c7b27881c0cce6520c34ae5506bd278c0ad92f56 parts/PHerc0172-lasagnetta-t016.tar
|
| 21 |
+
b1049111cd7d5b398e6bd83f9e77f95e06c470973e4a418dabbdbdb885bafad0 parts/PHerc0172-lasagnetta-t017.tar
|
| 22 |
+
770e02d0cfa4d276062e7727a5e76cc025be2bfd2717a2b7974fb690daefffa5 parts/PHerc0172-lasagnetta-t018.tar
|
| 23 |
+
c99cc21fe6aa4567d6bdb3536bc936ae9c617aedb35873471d001fd5388202e8 parts/PHerc0172-lasagnetta-t019.tar
|
| 24 |
+
7a934e322de675a67ba892f268b2dd6aa9b1625dfebb3ea89055356075c17e63 parts/PHerc0172-lasagnetta-t020.tar
|
| 25 |
+
7fa0cd3aab7d665a631c48a9b6c268bb0432c808e604726c0a43f22dd4be5dbe parts/PHerc0172-lasagnetta-t021.tar
|
| 26 |
+
adf09146f007c5e2ab86b21198390851068646697cf0b95f46fd196a14bc9881 parts/PHerc0172-lasagnetta-t022.tar
|
| 27 |
+
a12e6bde62a0942eaf1a932dc439c64302fe13d010344e69b6099873cab2eba7 parts/PHerc0172-lasagnetta-t023.tar
|
| 28 |
+
fcd00adc262188a67a999aec3a1c4690d93a648f941252825957022013725d88 parts/PHerc0172-lasagnetta-t024.tar
|
| 29 |
+
9d79dd0812a5dd3b94a955ddc4382b374491197b1bdbac3c181326816e56d35a parts/PHerc0172-lasagnetta-t025.tar
|
| 30 |
+
e17315f2be19d543d730268b37d1b8e08c334b778baeac468871779f9ce840ec parts/PHerc0172-lasagnetta-t026.tar
|
| 31 |
+
ffee1d4d741d3d83c397b25c7b16aef80bee9c858bbf66744fcc91faf3f4d70c parts/PHerc0172-lasagnetta-t027.tar
|
| 32 |
+
f8b2cf138352aca919eec2486b5bfa759f47df6035b935fb1a77c68489a0e803 parts/PHerc0172-lasagnetta-t028.tar
|
| 33 |
+
3322281717883f0932d5e131840b870c919864007db323f8f85db65274683da2 parts/PHerc0172-lasagnetta-t029.tar
|
| 34 |
+
3862c7cfbe79b515e07804da45d55cdffd709ed6aec8a8fb6598c9b34298c548 parts/PHerc0172-lasagnetta-t030.tar
|
| 35 |
+
199f515786962ce52880cc3559b9615ec329e1810b291009a342f94322df0d24 parts/PHerc0172-lasagnetta-t031.tar
|
| 36 |
+
c99b8dd41a0462563f540722eaf35ab14c19d003bbc4a83409d75c9a78db2f98 parts/PHerc0172-lasagnetta-t032.tar
|
| 37 |
+
5a98b11403748aa4ab0c8e25bb616bd52e3b78cca757e1d5f873b7f9972719c2 parts/PHerc0172-lasagnetta-t033.tar
|
| 38 |
+
7e3c4dd285a47df57f63b463b9fef53632968cd1cd022a0ab06120c0076770df parts/PHerc0172-lasagnetta-t034.tar
|
| 39 |
+
781801fc95bfce0e710373f16c14ceebac088c320e63cb24a6896ab36960ffec parts/PHerc0172-lasagnetta-t035.tar
|
| 40 |
+
9da0ed0a153a1717e1e51c591f484993a3873f89fec215cc84d89529977b2dad parts/PHerc0172-lasagnetta-t036.tar
|
| 41 |
+
5997db15fa44d1acea847e91c39460de593c00ff07101afe48a95e3b2cf00652 parts/PHerc0172-lasagnetta-t037.tar
|
| 42 |
+
8979a0a79957054659c5133254e795f45d2a0f718b4768fe1e8a5cef7e946797 parts/PHerc0172-lasagnetta-t038.tar
|
| 43 |
+
1b8865412cc9d59643125c02cf399536a21feec3d6564a2c0a7ba7a516875834 parts/PHerc0172-lasagnetta-t039.tar
|
| 44 |
+
d955997eece9c50c6782a56291815cce1839742b7278761d2d073585a411b9f9 parts/PHerc0172-lasagnetta-t040.tar
|
| 45 |
+
a93649e6f1997e1fbf71a6dd3d65b7f48ca31fa4b3607a9720636570c1a6b790 parts/PHerc0172-lasagnetta-t041.tar
|
| 46 |
+
78f743e15d596fe03bb0ca43146aa87e3ea4d5fc6eb1b0dc131c62bb7c89b38d parts/PHerc0172-lasagnetta-t042.tar
|
| 47 |
+
a830b58e06d46886c48400dbdebd0158168442046ca6cdda71ddbed8b6d86347 parts/PHerc0172-lasagnetta-t043.tar
|
| 48 |
+
c98601eafb43e316f1d204188ef7b2202494bcb1e13da1b27a09e9991cf709ef parts/PHerc0172-lasagnetta-t044.tar
|
| 49 |
+
70d2596e5381551d705255699292745843827443a64fcde8613a204b75b31124 parts/PHerc0172-lasagnetta-t045.tar
|
| 50 |
+
99fd89439a765bd069e3d80bfa02e00cab4ab5ff7e30f8decf4161567269263e parts/PHerc0172-lasagnetta-t046.tar
|
| 51 |
+
7c40555e8789e80fde74241808f7d4250ae8cc95d067006ff9c00f57d63a2f9f parts/PHerc0172-lasagnetta-t047.tar
|
| 52 |
+
40c207af5ac455698e33922a92ab4d75b918683556143aa26b20ea1828493f80 parts/PHerc0172-lasagnetta-t048.tar
|
| 53 |
+
6200d9a1259e402d6c01eb6476a67c7572184fb0bda7346141b17bc0c5eec4ca parts/PHerc0172-lasagnetta-t049.tar
|
| 54 |
+
2a61a173e726d4058988bd1056f2b67bdbfb17fec7f2639762d5953bf8fa6111 parts/PHerc0172-lasagnetta-t050.tar
|
| 55 |
+
aa8faca801d4f260278d997b05ba434b86242036bc98a9c3f1de1d63ae23cc92 parts/PHerc0172-lasagnetta-t051.tar
|
| 56 |
+
b453356ad1bba631f6910ff5b4c176f1b7f88ed9720a46f4b8b4d5237bf62737 parts/PHerc0172-lasagnetta-t052.tar
|
| 57 |
+
e5bf3262a3440f9b8b948f6dbf53db284206e23706d2144e19da45f53dce056a parts/PHerc0172-lasagnetta-t053.tar
|
| 58 |
+
faf7e300b6fb79e89d70857a21923a60251eb6d3c0c756c7e084fd9572b5666c parts/PHerc0172-lasagnetta-t054.tar
|
| 59 |
+
b638bce5024fbe2f75d41f059f2967a2af5b24d2661f33ff18ef4c9f0b7a2636 parts/PHerc0172-lasagnetta-t055.tar
|
| 60 |
+
5cc4c851875dbf81625399b1c4e07e0c7647ed487dac046623bce1dc0f432f4f parts/PHerc0172-lasagnetta-t056.tar
|
| 61 |
+
05cdc26688e3f2184d9e561022b0a45623d6c6d0d96905707ba1301a50e79e03 preview-xy.png
|
| 62 |
+
1bca443f992c7d4fd16a721e383236973be789d9941dc6a58e8f4fa21bcf1330 preview-xz.png
|
index.json
ADDED
|
@@ -0,0 +1,305 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"scan": "PHerc0172",
|
| 3 |
+
"volume": "PHerc0172/volumes/20241024131838-7.910um-53keV-masked.zarr",
|
| 4 |
+
"level": 0,
|
| 5 |
+
"model": "Lasagnetta 0.1.1",
|
| 6 |
+
"code": "ChaseHendrick/Scrolls a011d5e4bb6afe958fd085400c44483b089a7d65 scripts/lasagnetta",
|
| 7 |
+
"weights": "SharpMeow/lasagnetta 0f9ad8cde782124f3108bcb32a93fc1250512015",
|
| 8 |
+
"recipe": {
|
| 9 |
+
"cos_blur": [
|
| 10 |
+
0.5,
|
| 11 |
+
0.5,
|
| 12 |
+
0.5
|
| 13 |
+
],
|
| 14 |
+
"cos_offset": 0.04
|
| 15 |
+
},
|
| 16 |
+
"parts": [
|
| 17 |
+
{
|
| 18 |
+
"tar": "parts/PHerc0172-lasagnetta-t000.tar",
|
| 19 |
+
"bytes": 1782425600,
|
| 20 |
+
"sha256": "7704af29b26d63c23a1f1a4a370dbd0b38abce7f407e6c23fe46bda0865eccd5"
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"tar": "parts/PHerc0172-lasagnetta-t001.tar",
|
| 24 |
+
"bytes": 2041825280,
|
| 25 |
+
"sha256": "65ec2894252bf1d1dda73125302cafba06e2aef485fb37debe4e21819df2547b"
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"tar": "parts/PHerc0172-lasagnetta-t002.tar",
|
| 29 |
+
"bytes": 2045184000,
|
| 30 |
+
"sha256": "15124c3d709cb96ffb73c98d3ae47bda64d77f4770b5346f8b33ff510f67abca"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"tar": "parts/PHerc0172-lasagnetta-t003.tar",
|
| 34 |
+
"bytes": 3364730880,
|
| 35 |
+
"sha256": "aad29006ed462e026058ce4d7557b1f4b0281a1c1e2d8c212ab70b3c9a50afda"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"tar": "parts/PHerc0172-lasagnetta-t004.tar",
|
| 39 |
+
"bytes": 1670430720,
|
| 40 |
+
"sha256": "0c586c1a7de914bb8a076b6a21f1b903069650c9a0351666d71be0d1152df3ea"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"tar": "parts/PHerc0172-lasagnetta-t005.tar",
|
| 44 |
+
"bytes": 3229030400,
|
| 45 |
+
"sha256": "9dde9ab923bb6bd73b703a3d2e92eb989b5f59877a6391beeb5386fd1a837ba4"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"tar": "parts/PHerc0172-lasagnetta-t006.tar",
|
| 49 |
+
"bytes": 3621898240,
|
| 50 |
+
"sha256": "ce3ed5ef0f55df2b5db600e26d53200609b8ad67ed0d282dd68ea8b58551dd86"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"tar": "parts/PHerc0172-lasagnetta-t007.tar",
|
| 54 |
+
"bytes": 2093066240,
|
| 55 |
+
"sha256": "c9a91f717820e34b678706d695a07e025910be2161f82a6606f2963a15ba1da2"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"tar": "parts/PHerc0172-lasagnetta-t008.tar",
|
| 59 |
+
"bytes": 3090001920,
|
| 60 |
+
"sha256": "f9455866bcdb48770ad81bfaaa64d3e5bd3227111a48a323944f427b36886179"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"tar": "parts/PHerc0172-lasagnetta-t009.tar",
|
| 64 |
+
"bytes": 1577041920,
|
| 65 |
+
"sha256": "182277037ee912e22657d2d15b66da2d69206c5a5ab301c98a80da428a52159b"
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"tar": "parts/PHerc0172-lasagnetta-t010.tar",
|
| 69 |
+
"bytes": 3068282880,
|
| 70 |
+
"sha256": "087038f5406ed57ad3a92b977827ee0cb7d5a3db808e8e3888e7cedf04ab242c"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"tar": "parts/PHerc0172-lasagnetta-t011.tar",
|
| 74 |
+
"bytes": 3436359680,
|
| 75 |
+
"sha256": "b0d44fcfe7bd8e6784831e79bfbc3f65abe3a034d685e5cb163b195b566af98c"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"tar": "parts/PHerc0172-lasagnetta-t012.tar",
|
| 79 |
+
"bytes": 3100743680,
|
| 80 |
+
"sha256": "5ff266bade8a0981d8e244f0645da2ce229a9cad0290192893e115dc68db12a7"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"tar": "parts/PHerc0172-lasagnetta-t013.tar",
|
| 84 |
+
"bytes": 3171112960,
|
| 85 |
+
"sha256": "f5d0721e29cd858a92663efdc4af069974d9cf98c93f427c847be6bd74951ac3"
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"tar": "parts/PHerc0172-lasagnetta-t014.tar",
|
| 89 |
+
"bytes": 3175639040,
|
| 90 |
+
"sha256": "b211c6a65b21955ee5b0f1b0915c2bdb2aca65c017da7e86571f505849a691dc"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"tar": "parts/PHerc0172-lasagnetta-t015.tar",
|
| 94 |
+
"bytes": 3004344320,
|
| 95 |
+
"sha256": "0f7b95c0337490d29ecade5280c135ac7331680d9079a396af7f1b7a98a11f5a"
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"tar": "parts/PHerc0172-lasagnetta-t016.tar",
|
| 99 |
+
"bytes": 3300433920,
|
| 100 |
+
"sha256": "b6f349b1b4b0969e350fa8b8c7b27881c0cce6520c34ae5506bd278c0ad92f56"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"tar": "parts/PHerc0172-lasagnetta-t017.tar",
|
| 104 |
+
"bytes": 2863329280,
|
| 105 |
+
"sha256": "b1049111cd7d5b398e6bd83f9e77f95e06c470973e4a418dabbdbdb885bafad0"
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"tar": "parts/PHerc0172-lasagnetta-t018.tar",
|
| 109 |
+
"bytes": 3389276160,
|
| 110 |
+
"sha256": "770e02d0cfa4d276062e7727a5e76cc025be2bfd2717a2b7974fb690daefffa5"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"tar": "parts/PHerc0172-lasagnetta-t019.tar",
|
| 114 |
+
"bytes": 2815928320,
|
| 115 |
+
"sha256": "c99cc21fe6aa4567d6bdb3536bc936ae9c617aedb35873471d001fd5388202e8"
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"tar": "parts/PHerc0172-lasagnetta-t020.tar",
|
| 119 |
+
"bytes": 3447552000,
|
| 120 |
+
"sha256": "7a934e322de675a67ba892f268b2dd6aa9b1625dfebb3ea89055356075c17e63"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"tar": "parts/PHerc0172-lasagnetta-t021.tar",
|
| 124 |
+
"bytes": 2756218880,
|
| 125 |
+
"sha256": "7fa0cd3aab7d665a631c48a9b6c268bb0432c808e604726c0a43f22dd4be5dbe"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"tar": "parts/PHerc0172-lasagnetta-t022.tar",
|
| 129 |
+
"bytes": 2222643200,
|
| 130 |
+
"sha256": "adf09146f007c5e2ab86b21198390851068646697cf0b95f46fd196a14bc9881"
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"tar": "parts/PHerc0172-lasagnetta-t023.tar",
|
| 134 |
+
"bytes": 2830469120,
|
| 135 |
+
"sha256": "a12e6bde62a0942eaf1a932dc439c64302fe13d010344e69b6099873cab2eba7"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"tar": "parts/PHerc0172-lasagnetta-t024.tar",
|
| 139 |
+
"bytes": 1426544640,
|
| 140 |
+
"sha256": "fcd00adc262188a67a999aec3a1c4690d93a648f941252825957022013725d88"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"tar": "parts/PHerc0172-lasagnetta-t025.tar",
|
| 144 |
+
"bytes": 2246215680,
|
| 145 |
+
"sha256": "9d79dd0812a5dd3b94a955ddc4382b374491197b1bdbac3c181326816e56d35a"
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"tar": "parts/PHerc0172-lasagnetta-t026.tar",
|
| 149 |
+
"bytes": 3096616960,
|
| 150 |
+
"sha256": "e17315f2be19d543d730268b37d1b8e08c334b778baeac468871779f9ce840ec"
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"tar": "parts/PHerc0172-lasagnetta-t027.tar",
|
| 154 |
+
"bytes": 1631221760,
|
| 155 |
+
"sha256": "ffee1d4d741d3d83c397b25c7b16aef80bee9c858bbf66744fcc91faf3f4d70c"
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"tar": "parts/PHerc0172-lasagnetta-t028.tar",
|
| 159 |
+
"bytes": 2231132160,
|
| 160 |
+
"sha256": "f8b2cf138352aca919eec2486b5bfa759f47df6035b935fb1a77c68489a0e803"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"tar": "parts/PHerc0172-lasagnetta-t029.tar",
|
| 164 |
+
"bytes": 3351777280,
|
| 165 |
+
"sha256": "3322281717883f0932d5e131840b870c919864007db323f8f85db65274683da2"
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"tar": "parts/PHerc0172-lasagnetta-t030.tar",
|
| 169 |
+
"bytes": 1773619200,
|
| 170 |
+
"sha256": "3862c7cfbe79b515e07804da45d55cdffd709ed6aec8a8fb6598c9b34298c548"
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"tar": "parts/PHerc0172-lasagnetta-t031.tar",
|
| 174 |
+
"bytes": 2285660160,
|
| 175 |
+
"sha256": "199f515786962ce52880cc3559b9615ec329e1810b291009a342f94322df0d24"
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"tar": "parts/PHerc0172-lasagnetta-t032.tar",
|
| 179 |
+
"bytes": 3451832320,
|
| 180 |
+
"sha256": "c99b8dd41a0462563f540722eaf35ab14c19d003bbc4a83409d75c9a78db2f98"
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"tar": "parts/PHerc0172-lasagnetta-t033.tar",
|
| 184 |
+
"bytes": 1838991360,
|
| 185 |
+
"sha256": "5a98b11403748aa4ab0c8e25bb616bd52e3b78cca757e1d5f873b7f9972719c2"
|
| 186 |
+
},
|
| 187 |
+
{
|
| 188 |
+
"tar": "parts/PHerc0172-lasagnetta-t034.tar",
|
| 189 |
+
"bytes": 2337945600,
|
| 190 |
+
"sha256": "7e3c4dd285a47df57f63b463b9fef53632968cd1cd022a0ab06120c0076770df"
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"tar": "parts/PHerc0172-lasagnetta-t035.tar",
|
| 194 |
+
"bytes": 1868216320,
|
| 195 |
+
"sha256": "781801fc95bfce0e710373f16c14ceebac088c320e63cb24a6896ab36960ffec"
|
| 196 |
+
},
|
| 197 |
+
{
|
| 198 |
+
"tar": "parts/PHerc0172-lasagnetta-t036.tar",
|
| 199 |
+
"bytes": 1880944640,
|
| 200 |
+
"sha256": "9da0ed0a153a1717e1e51c591f484993a3873f89fec215cc84d89529977b2dad"
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"tar": "parts/PHerc0172-lasagnetta-t037.tar",
|
| 204 |
+
"bytes": 1850511360,
|
| 205 |
+
"sha256": "5997db15fa44d1acea847e91c39460de593c00ff07101afe48a95e3b2cf00652"
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"tar": "parts/PHerc0172-lasagnetta-t038.tar",
|
| 209 |
+
"bytes": 2370109440,
|
| 210 |
+
"sha256": "8979a0a79957054659c5133254e795f45d2a0f718b4768fe1e8a5cef7e946797"
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"tar": "parts/PHerc0172-lasagnetta-t039.tar",
|
| 214 |
+
"bytes": 1879797760,
|
| 215 |
+
"sha256": "1b8865412cc9d59643125c02cf399536a21feec3d6564a2c0a7ba7a516875834"
|
| 216 |
+
},
|
| 217 |
+
{
|
| 218 |
+
"tar": "parts/PHerc0172-lasagnetta-t040.tar",
|
| 219 |
+
"bytes": 1928734720,
|
| 220 |
+
"sha256": "d955997eece9c50c6782a56291815cce1839742b7278761d2d073585a411b9f9"
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"tar": "parts/PHerc0172-lasagnetta-t041.tar",
|
| 224 |
+
"bytes": 1867704320,
|
| 225 |
+
"sha256": "a93649e6f1997e1fbf71a6dd3d65b7f48ca31fa4b3607a9720636570c1a6b790"
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"tar": "parts/PHerc0172-lasagnetta-t042.tar",
|
| 229 |
+
"bytes": 2519326720,
|
| 230 |
+
"sha256": "78f743e15d596fe03bb0ca43146aa87e3ea4d5fc6eb1b0dc131c62bb7c89b38d"
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"tar": "parts/PHerc0172-lasagnetta-t043.tar",
|
| 234 |
+
"bytes": 1837322240,
|
| 235 |
+
"sha256": "a830b58e06d46886c48400dbdebd0158168442046ca6cdda71ddbed8b6d86347"
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"tar": "parts/PHerc0172-lasagnetta-t044.tar",
|
| 239 |
+
"bytes": 1721159680,
|
| 240 |
+
"sha256": "c98601eafb43e316f1d204188ef7b2202494bcb1e13da1b27a09e9991cf709ef"
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"tar": "parts/PHerc0172-lasagnetta-t045.tar",
|
| 244 |
+
"bytes": 1919641600,
|
| 245 |
+
"sha256": "70d2596e5381551d705255699292745843827443a64fcde8613a204b75b31124"
|
| 246 |
+
},
|
| 247 |
+
{
|
| 248 |
+
"tar": "parts/PHerc0172-lasagnetta-t046.tar",
|
| 249 |
+
"bytes": 2568601600,
|
| 250 |
+
"sha256": "99fd89439a765bd069e3d80bfa02e00cab4ab5ff7e30f8decf4161567269263e"
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"tar": "parts/PHerc0172-lasagnetta-t047.tar",
|
| 254 |
+
"bytes": 1888317440,
|
| 255 |
+
"sha256": "7c40555e8789e80fde74241808f7d4250ae8cc95d067006ff9c00f57d63a2f9f"
|
| 256 |
+
},
|
| 257 |
+
{
|
| 258 |
+
"tar": "parts/PHerc0172-lasagnetta-t048.tar",
|
| 259 |
+
"bytes": 1549998080,
|
| 260 |
+
"sha256": "40c207af5ac455698e33922a92ab4d75b918683556143aa26b20ea1828493f80"
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"tar": "parts/PHerc0172-lasagnetta-t049.tar",
|
| 264 |
+
"bytes": 1838325760,
|
| 265 |
+
"sha256": "6200d9a1259e402d6c01eb6476a67c7572184fb0bda7346141b17bc0c5eec4ca"
|
| 266 |
+
},
|
| 267 |
+
{
|
| 268 |
+
"tar": "parts/PHerc0172-lasagnetta-t050.tar",
|
| 269 |
+
"bytes": 2564679680,
|
| 270 |
+
"sha256": "2a61a173e726d4058988bd1056f2b67bdbfb17fec7f2639762d5953bf8fa6111"
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"tar": "parts/PHerc0172-lasagnetta-t051.tar",
|
| 274 |
+
"bytes": 1744998400,
|
| 275 |
+
"sha256": "aa8faca801d4f260278d997b05ba434b86242036bc98a9c3f1de1d63ae23cc92"
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"tar": "parts/PHerc0172-lasagnetta-t052.tar",
|
| 279 |
+
"bytes": 1366220800,
|
| 280 |
+
"sha256": "b453356ad1bba631f6910ff5b4c176f1b7f88ed9720a46f4b8b4d5237bf62737"
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"tar": "parts/PHerc0172-lasagnetta-t053.tar",
|
| 284 |
+
"bytes": 1999052800,
|
| 285 |
+
"sha256": "e5bf3262a3440f9b8b948f6dbf53db284206e23706d2144e19da45f53dce056a"
|
| 286 |
+
},
|
| 287 |
+
{
|
| 288 |
+
"tar": "parts/PHerc0172-lasagnetta-t054.tar",
|
| 289 |
+
"bytes": 2528358400,
|
| 290 |
+
"sha256": "faf7e300b6fb79e89d70857a21923a60251eb6d3c0c756c7e084fd9572b5666c"
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"tar": "parts/PHerc0172-lasagnetta-t055.tar",
|
| 294 |
+
"bytes": 3283005440,
|
| 295 |
+
"sha256": "b638bce5024fbe2f75d41f059f2967a2af5b24d2661f33ff18ef4c9f0b7a2636"
|
| 296 |
+
},
|
| 297 |
+
{
|
| 298 |
+
"tar": "parts/PHerc0172-lasagnetta-t056.tar",
|
| 299 |
+
"bytes": 700170240,
|
| 300 |
+
"sha256": "5cc4c851875dbf81625399b1c4e07e0c7647ed487dac046623bce1dc0f432f4f"
|
| 301 |
+
}
|
| 302 |
+
],
|
| 303 |
+
"bytes": 136444723200,
|
| 304 |
+
"note": "model output: a Lasagnetta preview of villa's lasagna field; never ground truth"
|
| 305 |
+
}
|
load_example.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import json
|
| 2 |
+
import numpy as np
|
| 3 |
+
import zarr
|
| 4 |
+
|
| 5 |
+
meta = json.load(open("PHerc0172.lasagna.json"))
|
| 6 |
+
cos = zarr.open(meta["groups"]["cos"]["zarr"], mode="r") # cos, 2x down from the CT level read
|
| 7 |
+
nx = zarr.open(meta["groups"]["nx"]["zarr"], mode="r") # normals, 4x down; stored as v * 127 + 128
|
| 8 |
+
ny = zarr.open(meta["groups"]["ny"]["zarr"], mode="r")
|
| 9 |
+
z, y, x = 5176, 725, 1125 # a voxel on the normals' grid that holds data
|
| 10 |
+
a, b = (float(nx[z, y, x]) - 128) / 127, (float(ny[z, y, x]) - 128) / 127
|
| 11 |
+
c = np.sqrt(max(0.0, 1 - a * a - b * b)) # nz is not stored
|
| 12 |
+
patch = cos[2 * z, 2 * y:2 * y + 64, 2 * x:2 * x + 64] # the same place on the cos grid
|
| 13 |
+
print("normal", round(a, 3), round(b, 3), round(c, 3), "cos patch mean", float(np.mean(patch)))
|
preview-xy.png
ADDED
|
Git LFS Details
|
preview-xz.png
ADDED
|
Git LFS Details
|