Repository navigation
v0.3: Unified 3-Phase Multi-Electrode Beamtime Multiplier, REV Binning & Numerical Z-Compression Baselines - #1
Open
jameslehoux wants to merge 8 commits into
Conversation
…onditioning, and 3D physics validation
…paired OpenImpala export
…ompression baselines
…OpenImpala suite & DIAD XRD
…s-informed x0 loss, OpenImpala sigma* optimizer & DIAD pinch metrics
…ines, 26-conn tortuosity & Newman ASR
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview (
v0.3— The Synchrotron Beamtime Multiplier)Upgrades$\text{TiO}_2$ -coated Carbon Felt Anode (
PorousDiffonfeature/paper-ready-conditionalinto a Unified Multi-Electrode, 3-Phase, Physical-REV Compression Surrogate across Virgin Carbon Felt (virgin_carbon),tio2_anode), Copper Hexacyanoferrate Coated Cathode (cuhcf_cathode), and independent cross-resolution DLS K11 DIAD scans.Key Highlights
porousdiff/preprocessing.py,prepare_local_drive_bundle.py):calibrate_multiphase_thresholds,segment_slice_multiphase) separating{0: pore, 1: carbon_fiber, 2: active_coating}without 80–95% pore bias or high-$Z$ CuHCF skew.downsample_volume_rev(--spatial-bin 2/3) enlarging~20–30fiber diameters).CalibrationMetadata(--voxel-size-um,--kpa-per-mvv,--beamline) + ~10-second--preview-onlySpyder overlay (qa/multiphase_overlay_diagnostic.png).porousdiff/baselines.py):affine_z_compress_to_target(affine Z-resampling + calibrated signed-distance threshold) andpillar_pore_deletion_compress(stochastic XY-column pore-layer removal) supporting both 2-phase and 3-phase volumes.porousdiff/data.py,porousdiff/models.py):[c_solid, c_coating]encoding in{-1, +1}aligns Channel 0 (total solid vs. pore) across 2-phase Virgin Felt and 3-phase2–3load) coated-electrode beamtime schedules;decode_channels_to_phasesprevents floating unattached coating artifacts.MultiModalConditionEmbedderjointly embeds normalized stress/load +material_id+log(dx / dx_ref)voxel size intotemband spatial conditioning channels.porousdiff/metrics.py,evaluate_beamtime_multiplier.py,slurm/run_beamtime_multiplier.slurm):ssa_pore_coating), Triple-Phase Boundary density (tpb_density), electronically wired coating fraction (wired_coating_fraction), directional tortuosity, and multi-phase OpenImpala TIFF export ({0, 1, 2}).affine_z_squashvs.pillar_pore_deletionvs. Dense/Few-Shot PorousDiff (beamtime_multiplier_report.json,baseline_vs_porousdiff_table.csv,beamtime_multiplier_comparison.{png,pdf}).Verification
python -m compileall porousdiff scripts testsbash -n slurm/*.slurmpytest -v(19 passed, 1 skippedacross unit, analytical TPB/EASA, numerical Z-compression baseline, and end-to-end multi-electrode CLI tests)