Enhanced documentation with comprehensive examples for ASL reconstruction classes and utilities#37
Merged
acsenrafilho merged 7 commits intomainfrom Jul 2, 2025
Merged
Conversation
Co-authored-by: acsenrafilho <9722993+acsenrafilho@users.noreply.github.com>
…ples Co-authored-by: acsenrafilho <9722993+acsenrafilho@users.noreply.github.com>
Co-authored-by: acsenrafilho <9722993+acsenrafilho@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [Improvement] Deeper documentation about asltk usage (examples)
Enhanced documentation with comprehensive examples for ASL reconstruction classes and utilities
Jul 2, 2025
acsenrafilho
requested changes
Jul 2, 2025
Member
acsenrafilho
left a comment
There was a problem hiding this comment.
Great job! Make a few improvements with the commentaries
…mat notes, and image placeholders Co-authored-by: acsenrafilho <9722993+acsenrafilho@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests.
🚀 New features to boost your workflow:
|
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.
This PR significantly improves the asltk documentation by adding comprehensive examples and detailed docstrings for all reconstruction classes and utility methods, addressing the need for deeper documentation about asltk usage.
Key Improvements
Enhanced Utils Module Documentation
load_image(): Added examples for different file formats, BIDS loading, and practical use casessave_image(): Added examples for direct file saving, BIDS structure saving, and processed ASL resultscollect_data_volumes(): Added comprehensive examples for 4D/5D data separation and volume processingEnhanced Reconstruction Classes Documentation
CBFMapping Class
create_map(): Added comprehensive parameter explanations, typical value ranges, and result interpretationset_brain_mask()&get_brain_mask(): Added practical masking examples and performance optimization tipsMultiTE_ASLMapping Class
create_map(): Added T1 relaxometry examples, clinical interpretation, and processing guidanceMultiDW_ASLMapping Class
create_map(): Added compartment analysis examples and processing time considerationsset_brain_mask(): Added performance optimization guidance for computationally intensive processingNew Documentation Files
docs/examples/workflow_examples.md: Comprehensive end-to-end workflows with complete pipelinesdocs/usage_examples.md: Quick start guide with essential examples and best practicesExample of Enhanced Documentation
Before:
After:
Testing and Validation
Benefits for Users
This enhancement makes asltk significantly more accessible to new users while providing advanced guidance for experienced researchers.
Fixes #4.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.