Repository navigation
Major Refactor and Feature Expansion of CaliBrain Framework - #19
Merged
Merged
Conversation
…form and source time course simulation
…ocstrings and parameter adjustments
…or simulation parameters
…eamline trial simulation
…ion handling and channel filtering
…nits - Updated SensorSimulator to include sensor units using FIFF constants. - Modified LeadfieldBuilder to handle sensor units based on leadfield data. - Enhanced SourceSimulator to set default units for ERP simulation. - Adjusted Visualizer to convert and display signals in appropriate units (nAm, fT, μV). - Improved main experiment script to reflect changes in simulation and visualization. - Cleaned up commented-out code and added relevant comments for clarity.
…certainty estimation
- Implemented MetricEvaluator class in metric_evaluation.py for various calibration and accuracy metrics. - Added SensorSimulator class in sensor_simulation.py to simulate synthetic brain activity data with noise. - Enhanced SourceSimulator class in source_simulation.py with improved documentation. - Updated run_experiments.py to modify amplitude and parameter grids for experiments.
- Deleted outdated contributing guide. - Added a changelog. updates to the project. - Created a new development index . - Introduced examples section. - Updated usage documentation. - Removed old results documentation and reorganized results output structure. - Enhanced installation instructions. - Updated environment.yml and requirements.txt. - Modified pyproject.toml. - Updated ReadTheDocs configuration.
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.
A comprehensive refactor and feature expansion of the CaliBrain simulation and evaluation framework. The update simplifies the overall API, improves unit consistency, and integrates new features including visualizations, estimators, evaluation metrics, and documentation.
Highlights
SourceSimulatorSensorSimulatorMetricEvaluatorVisualizernAm→AmEvaluation & Estimation
mean_posterior_stdmean_calibration_error(AUC)max_underconfidence_deviationmax_overconfidence_deviationmean_absolute_deviationmean_signed_deviationemd(Earth Mover's Distance)jaccard_errormseeuclidean_distancef1accuracyVisualization Enhancements
Visualizerclass for:Simulation Pipeline Updates
Documentation & Examples
Technical Summary
Related
mne/_fiff/constants.pyChecklist