Skip to content

Add linear polymer oscillatory sweeps (v0.1.1) - #11

Merged
marcocaggioni merged 1 commit into
masterfrom
rheodata-oscillatory-sweeps
Sep 29, 2026
Merged

marcocaggioni merged 1 commit into
masterfrom
rheodata-oscillatory-sweeps

Conversation

@marcocaggioni

Copy link
Copy Markdown
Member

Adds the two linear-polymer oscillatory sweeps missing from v0.1.0, extracted from the same TRIOS file (a_remake_dhr2.json) as the existing flow dataset:

  • caggioni_linear_polymer_amplitude_sweep — 41 points, strain 1000 → 0.1 % at fixed ω = 1 rad/s, 25 °C. Locates the linear viscoelastic regime (G′/G″ strain-independent to γ₀ ≈ 10–25 %); feeds the Delaware–Rutgers rule.
  • caggioni_linear_polymer_frequency_sweep — 31 points, ω 100 → 0.1 rad/s at γ₀ = 0.5 %, 25 °C. Feeds the Cox–Merz superposition.

Schema notes: both use the pre-existing amplitude_sweep / frequency_sweep measurement types (the G′/G″ plot path was already implemented, no library changes needed). Tidy columns strain_pct / omega_rad/s + Gp_Pa / Gpp_Pa, sorted ascending, no NaNs. Community provenance, no invented DOIs. The flow dataset's description now cross-references the companion sweeps.

Verification:

  • pytest: 39 passed
  • rheodata.list() → 14 datasets; load() + plot() verified on both new datasets
  • rheodata.search(experiment='frequency_sweep') / tag='cox-merz' find the new data
  • docs page generation: 14 pages + plots render clean
  • wheel builds as rheopy_rheodata-0.1.1-py3-none-any.whl (14 datasets from installed wheel)
  • no P&G references

This restores full executability of the Cox–Merz / Delaware–Rutgers sections of rheofit's Carreau walkthrough (follow-up rheofit/rheolite PRs come next).

Two new community datasets from the linear-polymer TRIOS file a_remake_dhr2.json:

- caggioni_linear_polymer_amplitude_sweep: 41-point strain sweep,
  1000 -> 0.1 % at 1 rad/s, 25 C (LVE locator + Delaware-Rutgers input)
- caggioni_linear_polymer_frequency_sweep: 31-point sweep,
  omega 100 -> 0.1 rad/s at 0.5 %, 25 C (Cox-Merz input)

Both use the pre-existing amplitude_sweep / frequency_sweep measurement
types (G'/G'' plot path already supported); tidy columns strain_pct /
omega_rad/s + Gp_Pa / Gpp_Pa, sorted ascending, no NaNs.

Also: version 0.1.1; flow-dataset description now cross-references the
companion sweeps; CURATION_NOTES updated. Docs pages/plots regenerate via
docs/generate_dataset_pages.py (gitignored, built by CI).
@marcocaggioni
marcocaggioni merged commit 16b550f into master Sep 29, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant