Skip to content

v0.7.0: Tuple return pattern, labeling system, SMLMData 0.7#32

Merged
kalidke merged 2 commits intomainfrom
feature/tuple-pattern
Feb 8, 2026
Merged

v0.7.0: Tuple return pattern, labeling system, SMLMData 0.7#32
kalidke merged 2 commits intomainfrom
feature/tuple-pattern

Conversation

@kalidke
Copy link
Member

@kalidke kalidke commented Feb 8, 2026

Summary

  • Tuple return pattern: simulate() now returns (smld_noisy, info::SimInfo) and gen_images() returns (images, info::ImageInfo) — intermediate results accessible via info.smld_true, info.smld_model
  • Labeling system: New AbstractLabeling types (FixedLabeling, PoissonLabeling, BinomialLabeling) control fluorophore attachment per binding site
  • SMLMData 0.7: Types inherit from SMLMData abstract types (AbstractSMLMConfig, AbstractSMLMInfo); compat narrowed to 0.7 only
  • Config rename: StaticSMLMParamsStaticSMLMConfig, DiffusionSMLMParamsDiffusionSMLMConfig
  • Other: elapsed_nselapsed_s, pattern_ids tracking, burn_in parameter, σ_xy covariance support

Breaking Changes

  • simulate() return type changed from 3-tuple/single to (output, info) tuple
  • Config struct names changed (*Params*Config)
  • Requires SMLMData 0.7 (drops 0.4-0.6 compat)
  • elapsed_ns field renamed to elapsed_s (now in seconds)

Test plan

  • All 275 tests pass
  • README, docs/, api_overview.md verified against source code
  • Docs build locally

🤖 Generated with Claude Code

kalidke and others added 2 commits February 8, 2026 13:54
Update README (add labeling section, fix coverage badge), api_overview
(fix type hierarchy, elapsed_s units, supertypes), all docs/src/ files
(3-tuple→(output, info), ρ→density, noise→apply_noise, GenericFluor
positional args), and module docstring. Remove stale `noise` export.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@kalidke kalidke merged commit fbe92f2 into main Feb 8, 2026
6 checks passed
@kalidke kalidke deleted the feature/tuple-pattern branch February 8, 2026 22:31
@kalidke kalidke mentioned this pull request Feb 8, 2026
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