Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Example for computing region occupancy#615

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
niksirbi wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromniko-region-occupancy-example

Conversation

@niksirbi
Copy link
Member

Description

What is this PR

  • Bug fix
  • Addition of a new feature
  • Other

Why is this PR needed?
Closes#415

What does this PR do?

Adds a new "Time spent in regions of interest" example based on the Elevated Plus Maze (EPM) dataset.
This example guides the user through:

  • Drawing ROIs asnapari Shapes and saving the using nativenapari functionality
  • Loading said shaped intomovementPolygonOfInterest objects
  • Conputing occupancy across the defined regions
  • Quantifying % time spent per region

References

Closes#415
Closes#410

How has this PR been tested?

Please explain how any new code has been tested, and how you have ensured that no existing functionality has changed.

Is this a breaking change?

No.

Does this PR require an update to the documentation?

This PR is mostly an update to the documentaiton.

Checklist:

  • The code has been tested locally
  • Tests have been added to cover all new functionality
  • The documentation has been updated to reflect any changes
  • The code has been formatted withpre-commit

@niksirbiniksirbiforce-pushed theniko-region-occupancy-example branch fromd8d4085 to8c6b3fcCompareJune 17, 2025 17:48
@sonarqubecloud
Copy link

Quality Gate FailedQuality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extensionSonarQube for IDE

@codecov
Copy link

codecovbot commentedJun 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base(6fe3ffc) to head(8c6b3fc).

Additional details and impacted files
@@            Coverage Diff            @@##              main      #615   +/-   ##=========================================  Coverage   100.00%   100.00%           =========================================  Files           32        32             Lines         1786      1786           =========================================  Hits          1786      1786

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report?Share it here.

🚀 New features to boost your workflow:
  • ❄️Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Write new sphinx-gallery example, showcasing time spent in regions of interest Example for "quick plot" functions

2 participants

@niksirbi

[8]ページ先頭

©2009-2025 Movatter.jp