Skip to content

Release 0.0.1. The Measurement Class#24

Open
damskii9992 wants to merge 3 commits intomasterfrom
develop
Open

Release 0.0.1. The Measurement Class#24
damskii9992 wants to merge 3 commits intomasterfrom
develop

Conversation

@damskii9992
Copy link
Copy Markdown
Collaborator

No description provided.

* New STAP notebooks

* Add plot axes

* Final sprint

* Ruff ignore ProofOfConcept folder
* Add verificiation of PR labels workflow

* Add verification of issue labels workflow

* Add pixi

* Add code coverage and use pixi in CI

* Ruff format

* Couldn't find pixi setup actions

* Update supported python versions

* Forgot to change python version in CI

* Add nightly workflow

* Convert other workflows to use Pixi
* Create Measurement from Scipp DataArray

* Create Measurement from scitiff

* Create Measurement from a regular TIFF stack

* Test all Measurement constructors

* add rebinning part 1

* Ensure x and y coordinates are always bin-edges.

* allow rebinning in 'x' or 'y'

* First rebin unit tests

* Final tests of rebin

* Add plotting function to Measurement

* Add the interactive slicer plot from plopp to Measurement

* Add interactive inspector plot to Measurement class

* Add Rectangular Region of Interest class

* Add RectROI

* Commit to possibly WFH

* Require both x and y coordinates simultaniously.

* add x_positions and y_positions setters and getters

* commit to WFH

* commit to continue from office

* finish spectrum method and tests. Changed RectROI slice method to accomedate.

* Add spectrum plotter

* Remove temporary plotting notebook

* Update example notebook

* Add ROI creator method

* Remove custom coords handling. Scipp now preserves coords when resizing.

* Pr comments first batch

* Add to_dict and from_dict methods to RectROI

* Adressing PR comments

* Update plotting unit tests

* Add roi_creator test to test creating an ROI

* Add save_scitiff method

* Add data_array_copy property

* Update toml files

* PR Comments

* Formatting

* Whoopsie
Copy link
Copy Markdown

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not contain a valid label. Please add one of the following labels: ['chore', 'fix', 'bugfix', 'bug', 'enhancement', 'feature', 'dependencies', 'documentation']

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 27, 2026

Codecov Report

❌ Patch coverage is 88.41121% with 62 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@4b2e367). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/easyimaging/measurement/measurement.py 85.54% 47 Missing and 3 partials ⚠️
src/easyimaging/measurement/regions.py 96.98% 5 Missing ⚠️
...rc/easyimaging/utils/jupyter_notebook_utilities.py 50.00% 5 Missing ⚠️
src/easyimaging/__init__.py 66.66% 1 Missing ⚠️
src/easyimaging/__version__.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master      #24   +/-   ##
=========================================
  Coverage          ?   88.33%           
=========================================
  Files             ?        8           
  Lines             ?      540           
  Branches          ?       86           
=========================================
  Hits              ?      477           
  Misses            ?       60           
  Partials          ?        3           
Flag Coverage Δ
unittests 88.33% <88.41%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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 free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant