📈 Introducing Analysis Module with Synaptic Functions & IO Enhancements #9
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.
In this PR, we're taking a significant step forward by introducing a dedicated Analysis module tailored for synaptic functions, expanding our toolkit for synapse properties analysis, and making necessary improvements in the IO functionalities.
New Additions & Enhancements
Analysis Module:
Synapse Properties Analysis:
extract_synapse_coordinates
: This function extracts bounding cube coordinates from the segmentation masks, assigning a unique label to each synapse. It serves as the foundation for subsequent synaptic analyses.measure_synapse_properties
: Leveraging the bounding cube coordinates, this function delves deep to analyze and calculate synaptic properties for each individual synapse.Utility Function for Synapse Metrics:
calculate_volume_and_surface_area
: A utility function has been added to compute the surface area and volume of synapses, catering to both standard Euclidean and physical dimensions.IO Function Enhancements:
createfolderstruc
has been aptly renamed tocreate_folder_structure
, making it more readable and aligned with naming conventions.