-
Notifications
You must be signed in to change notification settings - Fork 0
chore/issue1/update-metadata #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 4 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
c8ded54
Update .gitignore, enhance CODE_OF_CONDUCT.md links, improve README.m…
alperkent-cmi 10155c0
Update CODE_OF_CONDUCT.md, SECURITY.md and CONTRIBUTING.md, and READM…
alperkent-cmi 4c0e4f4
Update README.md to enhance status badge descriptions for clarity
alperkent-cmi 847079c
Update README.md to provide detailed status descriptions for graphomo…
alperkent-cmi 467ffdd
Update README.md to clarify data format requirements.
alperkent-cmi 0db4129
Add GitHub Actions workflow for publishing to PyPI
alperkent-cmi 0b9c8b6
Bump version to 0.1.1 in pyproject.toml
alperkent-cmi 53d3603
Update setup-uv and gh-action-pypi-publish versions in workflow
alperkent-cmi ab83e70
Add DOI badge to README for citation purposes
alperkent-cmi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,9 @@ | ||
| # data | ||
| data/ | ||
|
|
||
| # scripts | ||
| scripts/ | ||
|
|
||
| # experiments | ||
| experiments/ | ||
|
|
||
|
|
||
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,32 +1,88 @@ | ||
| # Graphomotor Study Toolkit | ||
|
|
||
| A Python toolkit for analysis of graphomotor data collected via Curious. | ||
|
|
||
| [](https://github.com/childmindresearch/graphomotor/actions/workflows/test.yaml?query=branch%3Amain) | ||
| [](https://codecov.io/gh/childmindresearch/graphomotor) | ||
| [](https://github.com/astral-sh/ruff) | ||
|  | ||
| [](https://github.com/childmindresearch/graphomotor/blob/main/LICENSE) | ||
| [](https://childmindresearch.github.io/graphomotor) | ||
| [](https://childmindresearch.github.io/graphomotor) | ||
|
|
||
| Welcome to `graphomotor`, a specialized Python library for analyzing graphomotor data collected via [Curious](https://www.gettingcurious.com/). This toolkit provides comprehensive tools for processing, analyzing, and visualizing data from various graphomotor assessment tasks including spiral drawing, trails making, alphabetic writing, digit symbol substitution, and the Rey-Osterrieth Complex Figure Test. | ||
|
|
||
| ## Feature Extraction Capabilities | ||
|
|
||
| A Python toolkit for the analysis of Graphomotor study. | ||
| The toolkit extracts clinically relevant metrics from digitized drawing data. Currently implemented features include: | ||
|
|
||
| ## Progress | ||
| - **Temporal Features**: Task completion duration | ||
|
alperkent marked this conversation as resolved.
Outdated
|
||
| - **Velocity Features**: Velocity analysis including linear, radial, and angular velocity components with statistical measures (sum, median, variation, skewness, kurtosis) | ||
|
alperkent marked this conversation as resolved.
Outdated
|
||
| - **Distance Features**: Spatial accuracy measurements using Hausdorff distance metrics with temporal normalizations and segment-specific analysis | ||
|
alperkent marked this conversation as resolved.
Outdated
|
||
| - **Drawing Error Features**: Area under the curve (AUC) calculations between drawn paths and ideal reference trajectories to quantify spatial accuracy | ||
|
alperkent marked this conversation as resolved.
Outdated
|
||
|
|
||
| | Task name | Preprocessing | Feature extraction | Visualization | | ||
| > **Note:** This toolkit is under active development, with a primary focus on the spiral drawing task and planned expansion to additional graphomotor assessments in subsequent releases. | ||
|
|
||
| ## Development Progress | ||
|
|
||
| | Task | Preprocessing | Feature Extraction | Visualization | | ||
| | :--- | :---: | :---: | :---: | | ||
| | Spiral |  |  |  | | ||
| | Rey-Osterrieth Complex Figure |  |  |  | | ||
| | Alphabetic Writing | |  |  | | ||
| | Digit Symbol Substitute | |  |  | | ||
| | Trails Making |  |  |  | | ||
| | Spiral |  |  |  | | ||
| | Rey-Osterrieth Complex Figure |  |  |  | | ||
| | Alphabetic Writing |  |  |  | | ||
| | Digit Symbol Substitution |  |  |  | | ||
| | Trails Making |  |  |  | | ||
|
|
||
| ## Installation | ||
|
|
||
| Install the newest development version via : | ||
| Install the graphomotor package from PyPI: | ||
|
|
||
| ```sh | ||
| pip install graphomotor | ||
|
alperkent marked this conversation as resolved.
|
||
| ``` | ||
|
|
||
| Or install the latest development version directly from GitHub: | ||
|
|
||
| ```sh | ||
| pip install git+https://github.com/childmindresearch/graphomotor | ||
| ``` | ||
|
|
||
| ## Links or References | ||
| ## Quick Start | ||
|
|
||
| Currently, `graphomotor` is available as an importable Python library. CLI functionality is planned for future releases. | ||
|
|
||
| ### Extracting Features from Spiral Drawing Data | ||
|
|
||
| ```python | ||
| from graphomotor.core import orchestrator | ||
|
|
||
| # Path to your spiral drawing data file | ||
| input_file = "path/to/your/spiral_data.csv" | ||
|
alperkent marked this conversation as resolved.
|
||
|
|
||
| # Directory where extracted features will be saved | ||
| output_dir = "path/to/output/directory" | ||
|
|
||
| # Run the analysis pipeline | ||
| features = orchestrator.run_pipeline( | ||
| input_path=input_file, | ||
| output_path=output_dir | ||
| ) | ||
|
|
||
| # Features are returned as a dictionary and saved as CSV | ||
| print(f"Successfully extracted {len(features)} feature categories") | ||
| ``` | ||
|
|
||
| For detailed configuration options and additional parameters, refer to the [`run_pipeline` documentation](https://childmindresearch.github.io/graphomotor/graphomotor/core/orchestrator.html#run_pipeline). | ||
|
|
||
| > **Note:** Currently, only single file processing is supported, with batch processing planned for future releases. | ||
|
|
||
| ## Future Directions | ||
|
|
||
| The Graphomotor Study Toolkit is under active development. For more detailed information about upcoming features and development plans, please refer to the [GitHub Issues](https://github.com/childmindresearch/graphomotor/issues) page. | ||
|
|
||
| ## Contributing | ||
|
|
||
| We welcome contributions from the community! If you're interested in contributing, please review our [Contributing Guidelines](CONTRIBUTING.md) for information on how to get started, coding standards, and the pull request process. | ||
|
|
||
| ## References | ||
|
|
||
| - [A very important resource](https://www.youtube.com/watch?v=dQw4w9WgXcQ) | ||
| 1. Messan, K. S., Kia, S. M., Narayan, V. A., Redmond, S. J., Kogan, A., Hussain, M. A., McKhann, G. M. II, & Vahdat, S. (2022). Assessment of Smartphone-Based Spiral Tracing in Multiple Sclerosis Reveals Intra-Individual Reproducibility as a Major Determinant of the Clinical Utility of the Digital Test. Frontiers in Medical Technology, 3, 714682. [https://doi.org/10.3389/fmedt.2021.714682](https://doi.org/10.3389/fmedt.2021.714682) | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,22 +1,13 @@ | ||
| # This file is a placeholder, will be updated later. | ||
|
|
||
| # Security | ||
|
|
||
| Child Mind Institute values the security of our users, data, and servers. We take the security of our systems seriously and encourage users to report any suspected security vulnerabilities promptly. | ||
|
|
||
| ## Supported Versions | ||
|
|
||
| MODIFY: | ||
|
|
||
| Note which version(s) will receive security updates. For example: | ||
|
|
||
| | Version | Supported | | ||
| | ------- | ------------------ | | ||
| | 1.0.x | :white_check_mark: | | ||
| | 0.9.x | :x: | | ||
| Only the latest minor version will receive security updates. All older minor versions should be considered unmaintained. | ||
|
|
||
| ## Reporting Vulnerabilities | ||
|
|
||
| To report security vulnerabilities, please do NOT use our issues page. Instead, kindly email us at mobi@childmind.org. Please refrain from using other communication channels. | ||
| To report security vulnerabilities, please do NOT use our issues page. Instead, kindly email us at <mobi@childmind.org>. Please refrain from using other communication channels. | ||
|
|
||
| For non-security-related issues, we welcome your input and feedback on our issues page. Feel free to share your ideas and suggestions to help us improve our services. |
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
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.
Uh oh!
There was an error while loading. Please reload this page.