multimodalsrm 0.3.0__tar.gz → 0.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/CHANGELOG.md +51 -1
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/PKG-INFO +8 -4
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/README.md +7 -3
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/api/data-results.md +2 -2
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/api/estimators.md +78 -2
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/api/responses.md +7 -4
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/api-guide.md +5 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/capabilities.md +6 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/changelog.md +51 -1
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/concepts.md +19 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/getting-started.md +4 -4
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/index.md +2 -2
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/model-mathematics.md +91 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/temporal-kernels.md +4 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/tutorials.md +26 -0
- multimodalsrm-0.3.2/examples/gp_frequency_domain.py +101 -0
- multimodalsrm-0.3.2/examples/r_frequency_domain.py +93 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/_version.py +1 -1
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/whittle.py +222 -12
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/whittle_likelihood.py +130 -2
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/spectral.py +31 -21
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm.egg-info/PKG-INFO +8 -4
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm.egg-info/SOURCES.txt +3 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_whittle.py +144 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_spectral.py +28 -63
- multimodalsrm-0.3.2/tests/core/test_spectral_families.py +76 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/test-durations.json +2 -1
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/CITATION.cff +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/CONTRIBUTING.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/LICENSE +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/MANIFEST.in +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/api/configuration.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/api/evaluation.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/data.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/documentation.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/extraction-validation.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/figure-provenance.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/grouped-learned-state-space-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/grouped-state-space-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/grouped-state-space.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/migration.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/model-integration.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-19-apple-mps-feasibility.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-21-gp-algorithmic-opportunities.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-21-gp-speedup-experiments.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-21-linux-cuda-gpu-opportunities.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-gaussian-followup.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-gaussian-orders.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-map-baseline-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-map-baseline.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-next-optimizations.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-next-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-parallel-scaling-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-parallel-scaling.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-response-bound-sensitivity-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-response-bound-sensitivity.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-response-candidates-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-response-candidates.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-response-holdout-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-22-gp-response-holdout.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-block-filter-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-block-filter.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-clock-calibration-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-clock-calibration.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-clock-preserved-fits.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-clock-preserved-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-expanded-response-fits.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-expanded-response-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-grouped-prediction-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-grouped-prediction.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-temporal-refit-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/2026-09-23-gp-temporal-refits.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/gp-response-research.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/r-map-initialization-results.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/performance/r-map-initialization.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/plans/2026-09-21-distribution-infrastructure.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/plans/2026-09-21-model-extraction.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/releasing.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/scr-responses.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/superpowers/plans/2026-09-21-post-release-linux-performance-evaluation.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/test-migration.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/docs/testing.md +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/examples/gp_map_quickstart.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/examples/r_quickstart.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/examples/scr_quickstart.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/model-integration.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/model-source.json +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/pyproject.toml +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/audit_gp_empirical_clocks.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/benchmark_gp_gaussian_compile.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/benchmark_gp_grouped_prediction.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/benchmark_gp_loading_collapse.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/benchmark_gp_node_filter.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/benchmark_gp_parallel_filter.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/benchmark_gp_response_candidates.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/benchmark_gp_response_holdout_parallel.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/benchmark_grouped_state_space.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/benchmark_r_initialization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/build_api_reference.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/build_kernel_figures.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/check_gp_empirical_predictions.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/check_gp_parallel_numerics.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/check_gp_response_baseline.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/check_gp_response_holdout.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/check_gp_temporal_calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/check_gp_transition_reuse.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/check_release.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/check_test_report.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/ci_policy.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/clock_preserving_emo_data.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/collect_gp_response_starts.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/compare_gp_response_families.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/diagnose_gp_response_calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/fit_gp_response_baseline.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/gp_block_filter.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/gp_response_candidates.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/gp_response_holdout.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/investigate_gp_response_bounds.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/probe_gp_calibration_sensitivity.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/probe_gp_correlated_noise.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/qualify_gp_block_filter.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/qualify_gp_gaussian_map_orders.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/qualify_gp_gaussian_orders.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/qualify_gp_parallel_scaling.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/refit_gp_temporal_calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/run_model_tests.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/score_gp_temporal_calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/select_gp_temporal_calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/summarize_gp_block_filter.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/summarize_gp_calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/summarize_gp_parallel_scaling.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/summarize_gp_response_holdout.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/summarize_gp_temporal_calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/scripts/sync_changelog.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/setup.cfg +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/__init__.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/_bateman.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/_observation_preparation.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/_parallel.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/alignment.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bateman_operators.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/__init__.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/_archive.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/_backend.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/baselines.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/blocks.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/calibration_archive.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/calibration_problem.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/covariance_pairs.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/diagnostics.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/environment.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/execution.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/factorization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/fitting.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/gp_hyperparameters.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/grouped.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/grouped_prediction.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/grouped_score.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/identity.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/laplace.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/map_conditioning.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/map_parallel.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/model.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/multifactor.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/multifactor_cholesky.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/multifactor_score.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/noise_profile.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/observation_adapter.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/orientation_diagnostics.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/orientation_persistence.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/orthogonal.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/persistence.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/polishing.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/posterior_coordinates.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/posterior_participants.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/posterior_persistence.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/posterior_updates.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/precision_factor.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/prediction.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/priors.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/problem.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/quality.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/r_initialization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/rank_diagnostics.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/reference.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/refinement_coordinates.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/response_quadrature.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/response_scope.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/results.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/spectral.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/state_space.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/state_space_compact.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/state_space_delays.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/state_space_gaussian.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/state_space_gaussian_rational.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/state_space_grouped.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/state_space_parameters.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/state_space_rational.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/state_space_responses.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/temporal_noise.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/timing.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/trajectories.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/transform.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/updated_posterior_persistence.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/warmup_checkpoint.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/bayesian/workflow.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/data.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/estimator.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/grouping.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/inference.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/initialization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/inspection.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/kernel_optimization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/kernels.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/lags.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/objective.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/operators.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/optimization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/posterior_results.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/results.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/selection.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm/validation.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm.egg-info/dependency_links.txt +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm.egg-info/requires.txt +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/src/multimodalsrm.egg-info/top_level.txt +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/__init__.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/__init__.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bateman_scr.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_analytic_score.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_bateman_posterior.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_blocks.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_covariance_pairs.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_diagnostics.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_environment.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_factorization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_filter_recovery.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_fit_quality.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_frozen.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_gamma_posterior.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_gp_timescale.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_grouped.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_instantaneous.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_map_conditioning.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_map_parallel.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_mixed_responses.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_model.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_multifactor.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_multifactor_cpu.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_multifactor_posterior.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_multifactor_refinement.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_multifactor_workflow.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_noise_profile.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_optional_conventions.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_orientation_diagnostics.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_orientation_sampling.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_orthogonal_kernel.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_parallel.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_parameter_scaling.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_persistence.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_polishing_guard.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_posterior_evidence.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_posterior_participants.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_posterior_persistence.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_posterior_updates.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_prediction.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_problem.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_quadrature_accuracy.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_quadrature_stack.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_r_initialization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_reference.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_refinement.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_residual_diagnostics.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_run_baselines.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_sampler_geometry.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_spectral.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_state_space.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_state_space_delays.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_state_space_gaussian.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_state_space_parameters.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_state_space_responses.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_state_space_scr.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_temporal_noise.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_timing.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_trajectories.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_transform.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_updated_persistence.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_warmup_checkpoint.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_bayesian_workflow.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_capacity_and_gradient_gate.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_edge_observations.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_grouped_factor_stability.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_grouped_prediction.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_laplace_lag_uncertainty.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_removed_bach_archive.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_response_quadrature_symmetry.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_compact_gaussian.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_delays.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_gaussian.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_gaussian_method.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_grouped.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_grouped_learned.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_optional_conventions.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_parameter_workflows.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_parameters.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_rational.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_state_space_responses.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/bayesian/test_timing_report.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/__init__.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_alignment_centering.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_bateman_scr.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_edge_observations.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_factor_report.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_gaussian_operator_exact.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_kernel_step_stopping.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_lags.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_latent_timescale.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_alignment.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_calibration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_components.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_cpu_algebra.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_fit.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_inference.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_initialization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_inspection.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_kernel_acceleration.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_loading_scaling.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_optimization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_parallel.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_primitives.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_reproducibility.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_scale.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_selection.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_shared_default.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_timing.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_multimodal_validation.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_observation_preparation.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_operator_vectorization.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_response_bounds.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/core/test_response_penalty_scaling.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/infrastructure/test_changelog.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/infrastructure/test_ci_policy.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/infrastructure/test_ci_workflows.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/infrastructure/test_model_test_report.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/infrastructure/test_package.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/infrastructure/test_release_gate.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/infrastructure/test_sharding.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/reference/__init__.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/reference/continuous_covariance.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/reference/multifactor_fixture.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/reference/optimization_fixture.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/reference/participant_conditioning.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/reference/posterior_fixture.py +0 -0
- {multimodalsrm-0.3.0 → multimodalsrm-0.3.2}/tests/smoke-tests.json +0 -0
|
@@ -7,6 +7,54 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.3.2] — 2026-11-30
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **`WhittleEstimator.infer_latent` returns the latent time courses of a
|
|
15
|
+
frequency-domain estimate.** The estimator integrates the latent out, so a fit
|
|
16
|
+
returned timing, loadings and noise but no time course. The new method
|
|
17
|
+
reconstructs the latent's posterior mean at the fitted parameters: a linear
|
|
18
|
+
solve per frequency and an inverse transform, in about a second. Options:
|
|
19
|
+
`participants="all"` gives the group latent, `"each"` one latent per
|
|
20
|
+
participant conditioned on that participant's data alone, and a list of names
|
|
21
|
+
conditions on that subset; `modalities=` restricts the modalities conditioned
|
|
22
|
+
on; `times=` evaluates at any times (by default each run's grid at its finest
|
|
23
|
+
sampling interval); `shrink=False` drops the prior, giving the noise-weighted
|
|
24
|
+
projection of the data through the loadings, the analogue of a shared response
|
|
25
|
+
model's `W.T @ X`. Every version is in the same latent space. The group latent
|
|
26
|
+
is not the mean of the per-participant ones, which are each shrunk by the
|
|
27
|
+
prior on their own.
|
|
28
|
+
|
|
29
|
+
- **`n_jobs` for the coupling tests and the bootstrap.** `whittle_estimate`,
|
|
30
|
+
`WhittleEstimator.fit` and `estimate_responses` take `n_jobs`, which runs the
|
|
31
|
+
surrogate fits (and, for the GP estimator, the bootstrap refits) in that many
|
|
32
|
+
worker processes. They are independent of one another and were run in turn.
|
|
33
|
+
Phases and simulated datasets are still drawn in order in the calling process,
|
|
34
|
+
so results are identical for every `n_jobs`.
|
|
35
|
+
|
|
36
|
+
### Fixed
|
|
37
|
+
|
|
38
|
+
- **`whittle_estimate` standard errors needed memory proportional to the square
|
|
39
|
+
of the number of parameters times the data.** The Hessian was differentiated
|
|
40
|
+
along every parameter at once: with 3,876 parameters (27 participants, 36
|
|
41
|
+
features) that asked for 197 GB, which stopped a fit on a 24 GB GPU after the
|
|
42
|
+
search had finished and would do the same on an ordinary workstation. It is
|
|
43
|
+
now built 64 columns at a time. The result agrees with the earlier one to
|
|
44
|
+
rounding error.
|
|
45
|
+
|
|
46
|
+
## [0.3.1] — 2026-11-29
|
|
47
|
+
|
|
48
|
+
### Fixed
|
|
49
|
+
|
|
50
|
+
- **`whittle_estimate(bootstrap=...)` failed on data with masked samples.** The
|
|
51
|
+
simulated datasets the bootstrap refits were built without the recording's
|
|
52
|
+
`TimeSeries` mask, so they no longer matched its layout and the fit stopped
|
|
53
|
+
with "data structure differs from the data the estimator was built with".
|
|
54
|
+
Any masked sample triggered it; data whose missing samples were removed
|
|
55
|
+
outright were unaffected, which is how the tests missed it. Replicates now
|
|
56
|
+
keep the recording's mask and feature columns.
|
|
57
|
+
|
|
10
58
|
## [0.3.0] — 2026-11-29
|
|
11
59
|
|
|
12
60
|
### Added
|
|
@@ -455,7 +503,9 @@ Test evidence belongs to the integration record and corresponding CI run; this
|
|
|
455
503
|
changelog makes no calibration or recovery claim. Learned FIR responses remain
|
|
456
504
|
deferred.
|
|
457
505
|
|
|
458
|
-
[Unreleased]: https://github.com/ljchang/multimodalsrm/compare/v0.3.
|
|
506
|
+
[Unreleased]: https://github.com/ljchang/multimodalsrm/compare/v0.3.2...HEAD
|
|
507
|
+
[0.3.2]: https://github.com/ljchang/multimodalsrm/compare/v0.3.1...v0.3.2
|
|
508
|
+
[0.3.1]: https://github.com/ljchang/multimodalsrm/compare/v0.3.0...v0.3.1
|
|
459
509
|
[0.3.0]: https://github.com/ljchang/multimodalsrm/compare/v0.2.0...v0.3.0
|
|
460
510
|
[0.2.0]: https://github.com/ljchang/multimodalsrm/compare/v0.1.0...v0.2.0
|
|
461
511
|
[0.1.0]: https://github.com/ljchang/multimodalsrm/releases/tag/v0.1.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: multimodalsrm
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Summary: Shared response models for native-time multimodal observations
|
|
5
5
|
Author: Luke J. Chang
|
|
6
6
|
License-Expression: MIT
|
|
@@ -57,7 +57,7 @@ Dynamic: license-file
|
|
|
57
57
|
|
|
58
58
|
Shared response models for observations measured across people, modalities and native sampling times.
|
|
59
59
|
|
|
60
|
-
**Version `0.3.
|
|
60
|
+
**Version `0.3.2`.** This package contains the extracted R-MSRM and GP-MSRM implementations. Software checks, fit convergence, uncertainty calibration and empirical recovery are separate claims.
|
|
61
61
|
|
|
62
62
|
## Models
|
|
63
63
|
|
|
@@ -66,6 +66,8 @@ Shared response models for observations measured across people, modalities and n
|
|
|
66
66
|
|
|
67
67
|
Both use named native-time observations, masks and missing streams. They preserve explicit information boundaries for held-out prediction. Learned FIR responses are deferred. Legacy neighborhood, graph, mixture and reference estimators are not exported by this package. See the [capability and backend matrix](docs/capabilities.md) before choosing a workflow.
|
|
68
68
|
|
|
69
|
+
Two functions estimate shared **response timing** in the frequency domain, each with a test of whether any timing relation is detectable: `estimate_responses` for R-MSRM, where the latent penalty then takes no part in the estimate, and `multimodalsrm.bayesian.whittle_estimate` for GP-MSRM, whose cost grows linearly with the number of samples. Both are validated on simulations only. See [how they work](docs/concepts.md#estimating-response-timing-in-the-frequency-domain) and the [examples](docs/tutorials.md#frequency-domain-response-estimation).
|
|
70
|
+
|
|
69
71
|
`Response(BatemanSCR(...))` models skin-conductance streams across R and supported GP workflows. See the [SCR guide](docs/scr-responses.md) and [shared R/GP example](examples/scr_quickstart.py). Version 0.2.0 removed `BachSCR`; reproduce Bach models and archives in a 0.1.0 environment ([migration](docs/migration.md#skin-conductance-responses)).
|
|
70
72
|
|
|
71
73
|
## Install
|
|
@@ -73,9 +75,9 @@ Both use named native-time observations, masks and missing streams. They preserv
|
|
|
73
75
|
Python 3.12 or later is required. Install the release from PyPI:
|
|
74
76
|
|
|
75
77
|
```sh
|
|
76
|
-
python -m pip install "multimodalsrm==0.3.
|
|
78
|
+
python -m pip install "multimodalsrm==0.3.2"
|
|
77
79
|
# Optional Bayesian runtime:
|
|
78
|
-
python -m pip install "multimodalsrm[bayesian]==0.3.
|
|
80
|
+
python -m pip install "multimodalsrm[bayesian]==0.3.2"
|
|
79
81
|
```
|
|
80
82
|
|
|
81
83
|
Enable float64 before using the Bayesian model (`JAX_ENABLE_X64=true`). See the [installation guide](https://ljchang.github.io/multimodalsrm/getting-started/) for environment setup.
|
|
@@ -89,6 +91,7 @@ python3.12 -m venv .venv
|
|
|
89
91
|
source .venv/bin/activate
|
|
90
92
|
python -m pip install -e .
|
|
91
93
|
python examples/r_quickstart.py
|
|
94
|
+
python examples/r_frequency_domain.py # response timing from estimate_responses
|
|
92
95
|
```
|
|
93
96
|
|
|
94
97
|
For the optional Bayesian runtime:
|
|
@@ -96,6 +99,7 @@ For the optional Bayesian runtime:
|
|
|
96
99
|
```sh
|
|
97
100
|
python -m pip install -e '.[bayesian]'
|
|
98
101
|
JAX_ENABLE_X64=true JAX_PLATFORM_NAME=cpu python examples/gp_map_quickstart.py
|
|
102
|
+
JAX_ENABLE_X64=true JAX_PLATFORM_NAME=cpu python examples/gp_frequency_domain.py # response timing from whittle_estimate
|
|
99
103
|
```
|
|
100
104
|
|
|
101
105
|
The base install does not require JAX, NumPyro, ArviZ or plotting libraries. The Bayesian extra pins the runtime used by the source handoff; enabling float64 is required. Editable source installs follow the checkout; use the `v0.2.0` tag to match this release.
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
Shared response models for observations measured across people, modalities and native sampling times.
|
|
8
8
|
|
|
9
|
-
**Version `0.3.
|
|
9
|
+
**Version `0.3.2`.** This package contains the extracted R-MSRM and GP-MSRM implementations. Software checks, fit convergence, uncertainty calibration and empirical recovery are separate claims.
|
|
10
10
|
|
|
11
11
|
## Models
|
|
12
12
|
|
|
@@ -15,6 +15,8 @@ Shared response models for observations measured across people, modalities and n
|
|
|
15
15
|
|
|
16
16
|
Both use named native-time observations, masks and missing streams. They preserve explicit information boundaries for held-out prediction. Learned FIR responses are deferred. Legacy neighborhood, graph, mixture and reference estimators are not exported by this package. See the [capability and backend matrix](docs/capabilities.md) before choosing a workflow.
|
|
17
17
|
|
|
18
|
+
Two functions estimate shared **response timing** in the frequency domain, each with a test of whether any timing relation is detectable: `estimate_responses` for R-MSRM, where the latent penalty then takes no part in the estimate, and `multimodalsrm.bayesian.whittle_estimate` for GP-MSRM, whose cost grows linearly with the number of samples. Both are validated on simulations only. See [how they work](docs/concepts.md#estimating-response-timing-in-the-frequency-domain) and the [examples](docs/tutorials.md#frequency-domain-response-estimation).
|
|
19
|
+
|
|
18
20
|
`Response(BatemanSCR(...))` models skin-conductance streams across R and supported GP workflows. See the [SCR guide](docs/scr-responses.md) and [shared R/GP example](examples/scr_quickstart.py). Version 0.2.0 removed `BachSCR`; reproduce Bach models and archives in a 0.1.0 environment ([migration](docs/migration.md#skin-conductance-responses)).
|
|
19
21
|
|
|
20
22
|
## Install
|
|
@@ -22,9 +24,9 @@ Both use named native-time observations, masks and missing streams. They preserv
|
|
|
22
24
|
Python 3.12 or later is required. Install the release from PyPI:
|
|
23
25
|
|
|
24
26
|
```sh
|
|
25
|
-
python -m pip install "multimodalsrm==0.3.
|
|
27
|
+
python -m pip install "multimodalsrm==0.3.2"
|
|
26
28
|
# Optional Bayesian runtime:
|
|
27
|
-
python -m pip install "multimodalsrm[bayesian]==0.3.
|
|
29
|
+
python -m pip install "multimodalsrm[bayesian]==0.3.2"
|
|
28
30
|
```
|
|
29
31
|
|
|
30
32
|
Enable float64 before using the Bayesian model (`JAX_ENABLE_X64=true`). See the [installation guide](https://ljchang.github.io/multimodalsrm/getting-started/) for environment setup.
|
|
@@ -38,6 +40,7 @@ python3.12 -m venv .venv
|
|
|
38
40
|
source .venv/bin/activate
|
|
39
41
|
python -m pip install -e .
|
|
40
42
|
python examples/r_quickstart.py
|
|
43
|
+
python examples/r_frequency_domain.py # response timing from estimate_responses
|
|
41
44
|
```
|
|
42
45
|
|
|
43
46
|
For the optional Bayesian runtime:
|
|
@@ -45,6 +48,7 @@ For the optional Bayesian runtime:
|
|
|
45
48
|
```sh
|
|
46
49
|
python -m pip install -e '.[bayesian]'
|
|
47
50
|
JAX_ENABLE_X64=true JAX_PLATFORM_NAME=cpu python examples/gp_map_quickstart.py
|
|
51
|
+
JAX_ENABLE_X64=true JAX_PLATFORM_NAME=cpu python examples/gp_frequency_domain.py # response timing from whittle_estimate
|
|
48
52
|
```
|
|
49
53
|
|
|
50
54
|
The base install does not require JAX, NumPyro, ArviZ or plotting libraries. The Bayesian extra pins the runtime used by the source handoff; enabling float64 is required. Editable source installs follow the checkout; use the `v0.2.0` tag to match this release.
|
|
@@ -228,7 +228,7 @@ Independently transform this participant on new stimulus runs.
|
|
|
228
228
|
|
|
229
229
|
## WhittleResult
|
|
230
230
|
|
|
231
|
-
`from multimodalsrm.bayesian import WhittleResult` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/bayesian/whittle.py#
|
|
231
|
+
`from multimodalsrm.bayesian import WhittleResult` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/bayesian/whittle.py#L216)
|
|
232
232
|
|
|
233
233
|
```python
|
|
234
234
|
WhittleResult(
|
|
@@ -313,7 +313,7 @@ WhittleResult.summary()
|
|
|
313
313
|
|
|
314
314
|
## Timing
|
|
315
315
|
|
|
316
|
-
`from multimodalsrm.bayesian import Timing` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/bayesian/whittle.py#
|
|
316
|
+
`from multimodalsrm.bayesian import Timing` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/bayesian/whittle.py#L184)
|
|
317
317
|
|
|
318
318
|
```python
|
|
319
319
|
Timing(value, se, status="untested", se_bootstrap=None)
|
|
@@ -593,7 +593,7 @@ target. Existing MAP `transform` remains a fixed-parameter operation.
|
|
|
593
593
|
|
|
594
594
|
## whittle_estimate
|
|
595
595
|
|
|
596
|
-
`from multimodalsrm.bayesian import whittle_estimate` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/bayesian/whittle.py#
|
|
596
|
+
`from multimodalsrm.bayesian import whittle_estimate` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/bayesian/whittle.py#L1049)
|
|
597
597
|
|
|
598
598
|
```python
|
|
599
599
|
whittle_estimate(
|
|
@@ -609,6 +609,7 @@ whittle_estimate(
|
|
|
609
609
|
bootstrap=0,
|
|
610
610
|
alpha=0.05,
|
|
611
611
|
random_state=0,
|
|
612
|
+
n_jobs=1,
|
|
612
613
|
**options,
|
|
613
614
|
)
|
|
614
615
|
```
|
|
@@ -625,7 +626,7 @@ coverage, reliable widths or standard errors when a block of samples is
|
|
|
625
626
|
missing, or evidence of no coupling from a test that does not reject.
|
|
626
627
|
## WhittleEstimator
|
|
627
628
|
|
|
628
|
-
`from multimodalsrm.bayesian import WhittleEstimator` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/bayesian/whittle.py#
|
|
629
|
+
`from multimodalsrm.bayesian import WhittleEstimator` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/bayesian/whittle.py#L282)
|
|
629
630
|
|
|
630
631
|
```python
|
|
631
632
|
WhittleEstimator(
|
|
@@ -680,6 +681,7 @@ One dataset drawn from the model at parameters `v` and the sample times of `data
|
|
|
680
681
|
|
|
681
682
|
Generated in the time domain: a fresh Matern-3/2 latent per run passed
|
|
682
683
|
through the responses, plus white and Ornstein-Uhlenbeck private noise.
|
|
684
|
+
Samples masked in `data` are masked in the result.
|
|
683
685
|
|
|
684
686
|
### WhittleEstimator.fit
|
|
685
687
|
|
|
@@ -691,6 +693,7 @@ WhittleEstimator.fit(
|
|
|
691
693
|
bootstrap=0,
|
|
692
694
|
alpha=0.05,
|
|
693
695
|
random_state=0,
|
|
696
|
+
n_jobs=1,
|
|
694
697
|
)
|
|
695
698
|
```
|
|
696
699
|
|
|
@@ -709,6 +712,79 @@ alpha : float
|
|
|
709
712
|
Level at which a coupling test establishes a modality's timing.
|
|
710
713
|
random_state : int
|
|
711
714
|
Seed of the start, the surrogates and the bootstrap.
|
|
715
|
+
n_jobs : int
|
|
716
|
+
Worker processes for the surrogate searches and bootstrap refits; -1
|
|
717
|
+
uses every core. Results do not depend on it. Each worker builds and
|
|
718
|
+
compiles its own copy of the model, so it pays off when a search takes
|
|
719
|
+
longer than that. Leave it at 1 on a GPU: the workers would compete for
|
|
720
|
+
the device's memory, and a search there is fast already.
|
|
721
|
+
|
|
722
|
+
### WhittleEstimator.infer_latent
|
|
723
|
+
|
|
724
|
+
```python
|
|
725
|
+
WhittleEstimator.infer_latent(
|
|
726
|
+
result,
|
|
727
|
+
data=None,
|
|
728
|
+
*,
|
|
729
|
+
times=None,
|
|
730
|
+
participants="all",
|
|
731
|
+
modalities=None,
|
|
732
|
+
shrink=True,
|
|
733
|
+
)
|
|
734
|
+
```
|
|
735
|
+
|
|
736
|
+
Latent time courses at a frequency-domain estimate.
|
|
737
|
+
|
|
738
|
+
The estimator integrates the latent out, so `fit` does not return it.
|
|
739
|
+
This reconstructs its posterior mean at the fitted loadings, responses
|
|
740
|
+
and noise: a linear solve per frequency, then an inverse transform. It
|
|
741
|
+
is conditional on those parameters and uses the untapered likelihood, so
|
|
742
|
+
the ends of a run are not weighted down.
|
|
743
|
+
|
|
744
|
+
Parameters
|
|
745
|
+
----------
|
|
746
|
+
result : WhittleResult
|
|
747
|
+
An estimate from this estimator.
|
|
748
|
+
data : nested mapping, optional
|
|
749
|
+
The data `result` was fitted to; may be omitted only for the
|
|
750
|
+
result of this estimator's latest `fit`.
|
|
751
|
+
times : array-like or mapping of run to array-like, optional
|
|
752
|
+
Where to evaluate the latent, in timestamp units. By default each
|
|
753
|
+
run's own grid at the finest sampling interval among its
|
|
754
|
+
modalities. The values are point evaluations of a band-limited
|
|
755
|
+
reconstruction: a finer grid interpolates and adds no information.
|
|
756
|
+
participants : "all", "each" or a sequence of participant names
|
|
757
|
+
`"all"` gives the group latent, conditioned on every
|
|
758
|
+
participant. `"each"` gives one latent per participant,
|
|
759
|
+
conditioned on that participant's data alone. A sequence conditions
|
|
760
|
+
on those participants together (leave one out, for example). Every
|
|
761
|
+
version is in the same latent space.
|
|
762
|
+
modalities : sequence of str, optional
|
|
763
|
+
Condition on these modalities only. By default all of them.
|
|
764
|
+
shrink : bool
|
|
765
|
+
`True` (default) is the posterior mean, which the prior pulls
|
|
766
|
+
toward zero where the selected data say little. `False` is the
|
|
767
|
+
noise-weighted projection of the data through the loadings without
|
|
768
|
+
the prior, the analogue of a shared response model's
|
|
769
|
+
`W.T @ X`. It is unstable where the selected data barely
|
|
770
|
+
constrain a factor; frequencies they do not determine are set to
|
|
771
|
+
zero and counted in `metadata["undetermined_frequencies"]`.
|
|
772
|
+
|
|
773
|
+
Returns
|
|
774
|
+
-------
|
|
775
|
+
dict
|
|
776
|
+
Run to `PosteriorSeriesResult` (time by factor), or participant to
|
|
777
|
+
such a dict for `participants="each"`. The latent is on the clock
|
|
778
|
+
of the model: a modality sees it delayed by its fitted response.
|
|
779
|
+
`std` is one value per factor, the posterior standard deviation
|
|
780
|
+
averaged over the run. `valid` is False outside the run.
|
|
781
|
+
|
|
782
|
+
Notes
|
|
783
|
+
-----
|
|
784
|
+
The group latent is not the mean of the per-participant latents: each of
|
|
785
|
+
those is shrunk by the prior on its own. The transform treats a run as
|
|
786
|
+
periodic, so the first and last few length scales of a run also carry
|
|
787
|
+
information from its other end.
|
|
712
788
|
|
|
713
789
|
### WhittleEstimator.exact_map
|
|
714
790
|
|
|
@@ -463,7 +463,7 @@ effect once the prior and the bounds are centred on it. Returns
|
|
|
463
463
|
to merge into `BayesianPriors(filters=...)` beside any shape priors.
|
|
464
464
|
## estimate_responses
|
|
465
465
|
|
|
466
|
-
`from multimodalsrm import estimate_responses` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/spectral.py#
|
|
466
|
+
`from multimodalsrm import estimate_responses` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/spectral.py#L534)
|
|
467
467
|
|
|
468
468
|
```python
|
|
469
469
|
estimate_responses(
|
|
@@ -476,6 +476,7 @@ estimate_responses(
|
|
|
476
476
|
surrogates=0,
|
|
477
477
|
lag_starts=5,
|
|
478
478
|
random_state=None,
|
|
479
|
+
n_jobs=1,
|
|
479
480
|
)
|
|
480
481
|
```
|
|
481
482
|
|
|
@@ -502,7 +503,9 @@ phase-randomized surrogates per estimated modality for the coupling test
|
|
|
502
503
|
(0 skips it; 200 resolves `p` to 0.005). The test is calibrated in
|
|
503
504
|
simulations with two modalities, two factors, one run and complete
|
|
504
505
|
participants. `lag_starts` is the number of
|
|
505
|
-
starting lags tried across each lag's bounds.
|
|
506
|
+
starting lags tried across each lag's bounds. `n_jobs` runs the surrogate
|
|
507
|
+
fits in that many worker processes (-1 for every core); the result does not
|
|
508
|
+
depend on it.
|
|
506
509
|
|
|
507
510
|
Returns a `SpectralResponses`. To use the estimates, fit with
|
|
508
511
|
`MultimodalSRM(responses=result.fixed_responses(responses))`.
|
|
@@ -516,7 +519,7 @@ trades them against each other: compare `peak_delay` of the result, not
|
|
|
516
519
|
the individual parameters.
|
|
517
520
|
## SpectralResponses
|
|
518
521
|
|
|
519
|
-
`from multimodalsrm import SpectralResponses` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/spectral.py#
|
|
522
|
+
`from multimodalsrm import SpectralResponses` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/spectral.py#L117)
|
|
520
523
|
|
|
521
524
|
```python
|
|
522
525
|
SpectralResponses(
|
|
@@ -575,7 +578,7 @@ SpectralResponses.fixed_responses(responses)
|
|
|
575
578
|
|
|
576
579
|
## transfer_function
|
|
577
580
|
|
|
578
|
-
`from multimodalsrm import transfer_function` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/spectral.py#
|
|
581
|
+
`from multimodalsrm import transfer_function` · [Source](https://github.com/ljchang/multimodalsrm/blob/main/src/multimodalsrm/spectral.py#L85)
|
|
579
582
|
|
|
580
583
|
```python
|
|
581
584
|
transfer_function(kernel, omega)
|
|
@@ -152,10 +152,14 @@ result.kernels["rating"]
|
|
|
152
152
|
| `noise="diag_ou"` | Private noise is white plus one slowly varying process per feature, with a variance per participant and modality. `"white"` is the exact model's noise. |
|
|
153
153
|
| `surrogates` | Number of phase-randomized surrogates for the coupling test of each estimated modality; 0 skips it. At least 19 are needed to reach `p = 0.05`. Every surrogate repeats the whole search. |
|
|
154
154
|
| `bootstrap` | Number of parametric-bootstrap replicates for standard errors; 0 skips them. |
|
|
155
|
+
| `n_jobs=1` | Worker processes for the surrogate searches and bootstrap refits, which are independent of one another; `-1` uses every core. Results do not depend on it. Each worker builds and compiles its own copy of the model, so it pays off when one search takes longer than a few seconds. Leave it at 1 on a GPU. |
|
|
155
156
|
| `peak_delay`, `relative_width` | A `Timing` per estimated modality. The peak delay is relative to `reference`; the relative width is the signed root of the difference of squared widths. Only these relative quantities are identified. |
|
|
156
157
|
| `Timing.status` | `"established"` only when the coupling test was run and passed and none of that modality's response parameters rests on a bound. When the reference's response is estimated too, its test must also pass and its parameters must be off their bounds. Otherwise `"untested"`, `"at bound"` or `"not established (...)"`, and the standard error is conditional on a coupling that was not shown. |
|
|
157
158
|
| `at_bounds`, `nonfinite`, `notes` | Parameters resting on a bound, rejected non-finite objective evaluations, and conditions that limit the estimate. |
|
|
158
159
|
| `WhittleEstimator(data, ...).fit(other)` | Compiles once for datasets with identical participants, features and sample times. `exact_map(result)` continues to the exact MAP from the estimate. |
|
|
160
|
+
| `WhittleEstimator.infer_latent(result, ...)` | The latent time courses at the estimate, which `fit` does not return because the likelihood integrates the latent out. `participants="all"` (default) gives the group latent, `"each"` one latent per participant conditioned on that participant's data alone, and a list of names conditions on that subset; all are in the same latent space. `modalities=` restricts what is conditioned on. `times=` evaluates anywhere inside a run; the default is each run's grid at its finest sampling interval, and a finer grid interpolates without adding information. `shrink=False` drops the prior and returns the noise-weighted projection of the data through the loadings, the analogue of a shared response model's `W.T @ X`; it is unstable where the selected data barely constrain a factor. The group latent is not the mean of the per-participant ones, which are each shrunk by the prior on their own. Values are conditional on the fitted parameters, `std` is one value per factor, and a run is treated as periodic, so its first and last few length scales also carry information from its other end. |
|
|
161
|
+
|
|
162
|
+
**Speed.** A fit is a few thousand evaluations of the likelihood, so its cost is the cost of one evaluation. On recordings of 27 participants with 36 features and 504 samples each (3,876 parameters), one evaluation with its gradient took 0.24 s on eight CPU cores and 0.004 s on an NVIDIA RTX PRO 6000, with the same value; a complete fit with standard errors took 466 s and 100 s, with the same estimates. JAX uses a GPU when its CUDA build is installed and one is visible; nothing in the call changes. The coupling test and the bootstrap repeat the search, so on CPUs pass `n_jobs`.
|
|
159
163
|
|
|
160
164
|
Each modality's samples must lie on a regular grid within a run, and the slowest sampling interval must be a whole multiple of every other one (1 s with 2 s, not 2 s with 3 s). Every modality must be present in every run. Missing samples are simply absent. Responses are shared across participants.
|
|
161
165
|
|
|
@@ -215,6 +219,7 @@ What to know before relying on it:
|
|
|
215
219
|
| Check `coupling` before reading a kernel | With `surrogates > 0`, each estimated modality is tested against surrogates in which its phase is randomized at every frequency. A large `p_value` means no timing relation to the other modalities was detected; the kernel estimate is then noise, and lags scatter across their bounds. |
|
|
216
220
|
| Loadings and responses use different halves | Each run is split in two; loadings are fitted on one half and the response is estimated on the other, both ways. Without this, loadings fitted under an assumed lag carry that lag into the estimate when a modality's shared signal is weak. Each half therefore needs enough data for a fit. |
|
|
217
221
|
| `noise_bands` | Lets each modality's noise level differ across frequency bands. Use a few bands when noise is autocorrelated, as in smoothed or imputed series. One band assumes white noise. |
|
|
222
|
+
| `n_jobs` | The coupling test fits every surrogate separately. `estimate_responses(..., n_jobs=8)` runs those fits in eight worker processes (`-1` for every core); the result is the same. |
|
|
218
223
|
| Low-feature modalities | A modality may have fewer features than the model has factors (one skin-conductance channel with three factors, for example). Features are modelled directly, so such a modality is one more set of equations. |
|
|
219
224
|
| Three free parameters | When onset, shape and scale are all free (a `Gamma` or `BatemanSCR` with nothing fixed), they trade against each other. Compare `peak_delay(result.kernels[m])`, which stays well determined, not the individual parameters. |
|
|
220
225
|
| Limits | Estimated responses must be shared across participants (`pooling="shared"`); participant-specific responses stay with `fit`. Missing samples are replaced by the feature mean. |
|
|
@@ -11,6 +11,8 @@ MAP is an estimation method. `linear_algebra` selects a GP computational backend
|
|
|
11
11
|
| R-MSRM regularized fit | Shared latent grid (`latent_dt`), individual mappings, fixed or estimated parametric responses; fit, infer, target-excluded prediction and calibration | Regularization and response constraints influence identifiability; no posterior uncertainty claim |
|
|
12
12
|
| GP MAP, `linear_algebra="dense"` or `"grouped"` | Continuous Matérn GP; analytic Identity/Gaussian; explicit quadrature for Gamma/DoubleGamma/BatemanSCR | Grouped algebra preserves the modeled likelihood; it is not a different prior |
|
|
13
13
|
| GP MAP, `linear_algebra="state_space"` | Explicit opt-in Identity, Gaussian, fixed integer-shape Gamma/DoubleGamma, and learned BatemanSCR; independent noise | Response approximations and restored tails need the declared covariance error tolerance; no state-space posterior sampling |
|
|
14
|
+
| R-MSRM `estimate_responses` | Shared response kernels relative to a fixed reference modality, estimated in the frequency domain with the latent left free at every frequency; every response family; modalities with fewer features than factors; participants missing a modality; phase-randomization coupling test | Simulations only. The coupling test's false-positive rate is measured for two modalities, two factors, one run and complete participants. Missing samples are replaced by the feature mean. Not for participant-specific responses |
|
|
15
|
+
| GP `whittle_estimate` | Peak delay and relative width of shared responses from a debiased, coherent Whittle likelihood; white or white-plus-slow private noise; nested sampling rates; inverse-Hessian or parametric-bootstrap standard errors; coupling test and a status | Simulations only. A block of missing samples biases widths upward and makes the Hessian standard errors too small. Every modality must be on a regular grid and present in every run. It estimates timing, not predictions or latent trajectories |
|
|
14
16
|
| GP `linear_algebra="spectral"` | Explicit finite-basis approximation retained from the source implementation | Rank/padding and boundary errors need separate qualification; not the full supported posterior workflow below |
|
|
15
17
|
| Full GP posterior training and joint updates | Dense/grouped; independent observation noise; no run baselines; fixed unit GP variance; fixed or learned single shared GP timescale | No sampled-kernel posterior, participant response pooling, factor-specific timescales or state-space sampling |
|
|
16
18
|
| Joint posterior trajectories | `sample_latent` on supported training, donor-update, calibrated and independent-participant posterior models | Request all times for a joint calculation together; separate calls do not preserve cross-call correlation |
|
|
@@ -31,6 +33,8 @@ method, configuration and performance checks.
|
|
|
31
33
|
|
|
32
34
|
A learned `length_scale` uses a bounded physical `Prior` with finite, strictly positive bounds. One timescale is shared across factors and runs; loadings set amplitude while GP variance stays one. Learning the timescale changes the inference target and requires new convergence/identification checks. MAP options outside the full posterior scope, such as fixed run-baseline priors, must not be assumed to carry over to joint posterior updates.
|
|
33
35
|
|
|
36
|
+
`estimate_responses` and `whittle_estimate` are estimators of response timing, not backends: they are separate from `linear_algebra="spectral"`, which approximates the exact GP likelihood on a finite basis. See [frequency-domain estimation](concepts.md#estimating-response-timing-in-the-frequency-domain).
|
|
37
|
+
|
|
34
38
|
## Responses and workflow semantics
|
|
35
39
|
|
|
36
40
|
`Response(..., estimate=True, fixed={...})` estimates only unfixed parameters, within explicit bounds. For example, `Response(Gaussian(width=0.3), estimate=True, fixed={"width": 0.3}, bounds={"lag": (-1.5, 1.5)}, pooling="shared")` estimates a shared lag while preserving width. Response support can remove edge observations; inspect output validity masks rather than treating every requested time as observed or usable.
|
|
@@ -54,6 +58,8 @@ Existing `.calibrate` and `.transform` APIs retain their MAP meanings. Do not in
|
|
|
54
58
|
|
|
55
59
|
Both models estimate relative, not absolute, modality timing. `scan_lags` proposes starting lags and narrow bounds from the observations; `timing_report()` reports peak delays relative to a reference modality (by default the first), with the subtracted clock origin. The scan can fail at very low signal-to-noise and can alias by one period on a near-periodic signal; it reports both conditions, and its thresholds come from synthetic data. On the one empirical recording tested it found no reliable delay, and scan initialization then leaves the configured lags unchanged. A reported delay is a relative model quantity, not a physiological latency.
|
|
56
60
|
|
|
61
|
+
The two frequency-domain estimators report a coupling test with their timing. A lag whose test does not reach significance is not evidence of a small lag: it is the best-fitting lag of noise. Treat `p_value` (R-MSRM) and the `status` of each `Timing` (GP-MSRM) as part of the estimate.
|
|
62
|
+
|
|
57
63
|
## Interpreting outputs
|
|
58
64
|
|
|
59
65
|
Inspect `converged_` for R fits and `map_diagnostics_` for GP MAP fits. R convergence requires a settled response (`kernel_tol`) as well as a small objective decrement. A GP MAP point meets its gradient tolerance when the largest physical projected gradient is below `physical_gradient_tolerance`, or below `relative_gradient_tolerance` times the objective's magnitude; `gradient_criterion` records which applied, and `relative_projected_gradient` lets you compare starts on recordings of different size. Posterior fits require `sampling_diagnostics_`, including raw parameters, reporting orientation, divergences, tree depth and BFMI. A successful API call, archive replay or test run does not establish convergence. Marginal intervals do not automatically form simultaneous trajectory bands.
|
|
@@ -9,6 +9,54 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.3.2] — 2026-11-30
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- **`WhittleEstimator.infer_latent` returns the latent time courses of a
|
|
17
|
+
frequency-domain estimate.** The estimator integrates the latent out, so a fit
|
|
18
|
+
returned timing, loadings and noise but no time course. The new method
|
|
19
|
+
reconstructs the latent's posterior mean at the fitted parameters: a linear
|
|
20
|
+
solve per frequency and an inverse transform, in about a second. Options:
|
|
21
|
+
`participants="all"` gives the group latent, `"each"` one latent per
|
|
22
|
+
participant conditioned on that participant's data alone, and a list of names
|
|
23
|
+
conditions on that subset; `modalities=` restricts the modalities conditioned
|
|
24
|
+
on; `times=` evaluates at any times (by default each run's grid at its finest
|
|
25
|
+
sampling interval); `shrink=False` drops the prior, giving the noise-weighted
|
|
26
|
+
projection of the data through the loadings, the analogue of a shared response
|
|
27
|
+
model's `W.T @ X`. Every version is in the same latent space. The group latent
|
|
28
|
+
is not the mean of the per-participant ones, which are each shrunk by the
|
|
29
|
+
prior on their own.
|
|
30
|
+
|
|
31
|
+
- **`n_jobs` for the coupling tests and the bootstrap.** `whittle_estimate`,
|
|
32
|
+
`WhittleEstimator.fit` and `estimate_responses` take `n_jobs`, which runs the
|
|
33
|
+
surrogate fits (and, for the GP estimator, the bootstrap refits) in that many
|
|
34
|
+
worker processes. They are independent of one another and were run in turn.
|
|
35
|
+
Phases and simulated datasets are still drawn in order in the calling process,
|
|
36
|
+
so results are identical for every `n_jobs`.
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
- **`whittle_estimate` standard errors needed memory proportional to the square
|
|
41
|
+
of the number of parameters times the data.** The Hessian was differentiated
|
|
42
|
+
along every parameter at once: with 3,876 parameters (27 participants, 36
|
|
43
|
+
features) that asked for 197 GB, which stopped a fit on a 24 GB GPU after the
|
|
44
|
+
search had finished and would do the same on an ordinary workstation. It is
|
|
45
|
+
now built 64 columns at a time. The result agrees with the earlier one to
|
|
46
|
+
rounding error.
|
|
47
|
+
|
|
48
|
+
## [0.3.1] — 2026-11-29
|
|
49
|
+
|
|
50
|
+
### Fixed
|
|
51
|
+
|
|
52
|
+
- **`whittle_estimate(bootstrap=...)` failed on data with masked samples.** The
|
|
53
|
+
simulated datasets the bootstrap refits were built without the recording's
|
|
54
|
+
`TimeSeries` mask, so they no longer matched its layout and the fit stopped
|
|
55
|
+
with "data structure differs from the data the estimator was built with".
|
|
56
|
+
Any masked sample triggered it; data whose missing samples were removed
|
|
57
|
+
outright were unaffected, which is how the tests missed it. Replicates now
|
|
58
|
+
keep the recording's mask and feature columns.
|
|
59
|
+
|
|
12
60
|
## [0.3.0] — 2026-11-29
|
|
13
61
|
|
|
14
62
|
### Added
|
|
@@ -457,7 +505,9 @@ Test evidence belongs to the integration record and corresponding CI run; this
|
|
|
457
505
|
changelog makes no calibration or recovery claim. Learned FIR responses remain
|
|
458
506
|
deferred.
|
|
459
507
|
|
|
460
|
-
[Unreleased]: https://github.com/ljchang/multimodalsrm/compare/v0.3.
|
|
508
|
+
[Unreleased]: https://github.com/ljchang/multimodalsrm/compare/v0.3.2...HEAD
|
|
509
|
+
[0.3.2]: https://github.com/ljchang/multimodalsrm/compare/v0.3.1...v0.3.2
|
|
510
|
+
[0.3.1]: https://github.com/ljchang/multimodalsrm/compare/v0.3.0...v0.3.1
|
|
461
511
|
[0.3.0]: https://github.com/ljchang/multimodalsrm/compare/v0.2.0...v0.3.0
|
|
462
512
|
[0.2.0]: https://github.com/ljchang/multimodalsrm/compare/v0.1.0...v0.2.0
|
|
463
513
|
[0.1.0]: https://github.com/ljchang/multimodalsrm/releases/tag/v0.1.0
|
|
@@ -59,6 +59,25 @@ Only the *differences* between modality delays are estimated: delaying every res
|
|
|
59
59
|
|
|
60
60
|
Learned FIR responses are deferred. The presence of an internal kernel type does not imply it supports every inference method.
|
|
61
61
|
|
|
62
|
+
## Estimating response timing in the frequency domain
|
|
63
|
+
|
|
64
|
+
Fitting a model is not the only way to estimate a response. Two functions estimate **shared response timing** directly from how the modalities' signals relate across frequencies, and both report whether there is any timing relation to estimate.
|
|
65
|
+
|
|
66
|
+
The idea is the same in both. A response delays and smooths the latent signal. A delay shifts every frequency's phase by an amount that grows with frequency, and smoothing attenuates high frequencies more than low ones. So one modality's response *relative to another* can be read from how the phase and amplitude of their shared signal differ from one frequency to the next.
|
|
67
|
+
|
|
68
|
+
| | `estimate_responses` | `whittle_estimate` |
|
|
69
|
+
| --- | --- | --- |
|
|
70
|
+
| Model | R-MSRM | GP-MSRM (`multimodalsrm.bayesian`) |
|
|
71
|
+
| Why use it | In `fit`, the latent penalty takes part in the response estimate: a stronger penalty shrinks the fitted difference between two modalities' widths. Here the latent is left free at every frequency, so the penalty does not enter | The exact GP likelihood factorizes a run's whole covariance, which limits it to small problems. This likelihood is written one frequency at a time and its cost grows linearly with the number of samples |
|
|
72
|
+
| What it returns | A response kernel per estimated modality, relative to a fixed reference modality | Each estimated modality's peak delay and width relative to a reference, with standard errors and a status |
|
|
73
|
+
| How to use the result | Fit with the responses fixed: `result.fixed_responses(responses)` | Report the timing, reconstruct the latent time courses with `WhittleEstimator.infer_latent`, or continue to the exact MAP with `WhittleEstimator.exact_map` |
|
|
74
|
+
|
|
75
|
+
**Only relative timing is identified.** Both need a reference modality and report the others relative to it. With Gaussian responses the data determine the lag difference and the difference of squared widths, not each width separately.
|
|
76
|
+
|
|
77
|
+
**Check the coupling test before reading an estimate.** Either function will return a lag and a width even when two modalities share nothing, because noise always has some best-fitting lag. With `surrogates > 0` each estimated modality is compared with surrogate copies of itself whose phases are randomized, which keeps its spectrum and destroys any timing relation to the other modalities. A small `p` means the data fit better than the surrogates do. A large `p` means no timing relation was detected, and the estimate should not be interpreted. `whittle_estimate` labels timing "established" only when that test passes and no response parameter rests on a bound.
|
|
78
|
+
|
|
79
|
+
Both are validated on simulations only, and both require responses shared across participants. Neither is the GP `linear_algebra="spectral"` backend, which is a finite-basis approximation of the same exact likelihood. The [settings guide](api-guide.md#estimating-shared-responses-in-the-frequency-domain) lists arguments, measured accuracy and limits; the [mathematics](model-mathematics.md#frequency-domain-estimation-of-responses) gives the likelihoods; the [tutorials](tutorials.md#frequency-domain-response-estimation) run both on synthetic data.
|
|
80
|
+
|
|
62
81
|
## Evaluate the claim you want to make
|
|
63
82
|
|
|
64
83
|
Held-out prediction asks whether available observations predict excluded targets. Response recovery asks whether fitted filter parameters match a known generating mechanism. Convergence asks whether numerical optimization or sampling adequately explored the intended target. These require different evidence.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Installation
|
|
2
2
|
|
|
3
|
-
Use Python 3.12 or later. Python 3.12 is the version currently exercised by package CI. Install version `0.3.
|
|
3
|
+
Use Python 3.12 or later. Python 3.12 is the version currently exercised by package CI. Install version `0.3.2` from PyPI, or use a source checkout for development and the example scripts.
|
|
4
4
|
|
|
5
5
|
## Install the release
|
|
6
6
|
|
|
@@ -9,13 +9,13 @@ Create and activate a dedicated environment, then install the base model:
|
|
|
9
9
|
```sh
|
|
10
10
|
python3.12 -m venv .venv
|
|
11
11
|
source .venv/bin/activate
|
|
12
|
-
python -m pip install "multimodalsrm==0.3.
|
|
12
|
+
python -m pip install "multimodalsrm==0.3.2"
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
For GP-MSRM, add the Bayesian extra:
|
|
16
16
|
|
|
17
17
|
```sh
|
|
18
|
-
python -m pip install "multimodalsrm[bayesian]==0.3.
|
|
18
|
+
python -m pip install "multimodalsrm[bayesian]==0.3.2"
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
On Windows PowerShell, activate with `.venv\Scripts\Activate.ps1`. The following examples require a source checkout because the scripts are not installed as commands.
|
|
@@ -25,7 +25,7 @@ On Windows PowerShell, activate with `.venv\Scripts\Activate.ps1`. The following
|
|
|
25
25
|
```sh
|
|
26
26
|
git clone https://github.com/ljchang/multimodalsrm.git
|
|
27
27
|
cd multimodalsrm
|
|
28
|
-
git checkout v0.3.
|
|
28
|
+
git checkout v0.3.2
|
|
29
29
|
python3.12 -m venv .venv
|
|
30
30
|
source .venv/bin/activate
|
|
31
31
|
python -m pip install -e .
|
|
@@ -10,8 +10,8 @@ Use it to fit a common representation, infer latent responses on new recordings,
|
|
|
10
10
|
[How it works](concepts.md){ .md-button }
|
|
11
11
|
[API and choices](api-guide.md){ .md-button }
|
|
12
12
|
|
|
13
|
-
!!! info "Version 0.3.
|
|
14
|
-
Install the package from PyPI. These pages follow `main`; use the `v0.3.
|
|
13
|
+
!!! info "Version 0.3.2"
|
|
14
|
+
Install the package from PyPI. These pages follow `main`; use the `v0.3.2` source tag when matching an analysis to this release.
|
|
15
15
|
|
|
16
16
|
## Choose a model
|
|
17
17
|
|