Skip to content

[DRAFT] Additional Slicers for the refactor branch#197

Draft
krzywon wants to merge 7 commits intorefactor_24from
refactor_24_slicers
Draft

[DRAFT] Additional Slicers for the refactor branch#197
krzywon wants to merge 7 commits intorefactor_24from
refactor_24_slicers

Conversation

@krzywon
Copy link
Collaborator

@krzywon krzywon commented Mar 19, 2026

This updates the original AnnularSector (i.e. wedge) slicer class to allow Quantity types for its parameters and ensure the parameter units are the expected type. It also adds individual Annular and Sector classes that are children of the wedge class.

Things to do:

  • Ensure both Phi and Q averaging are working for all existing slicers
  • Documentation
  • Unit tests (in conjunction with the first point)
  • Add box slicers
  • Add stripe slicers (working on this for 6.2.0 release as well)
  • Remove main() methods currently used for testing

Copy link

@codescene-delta-analysis codescene-delta-analysis bot left a comment

Choose a reason for hiding this comment

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

No quality gates enabled for this code.

See analysis details in CodeScene

Quality Gate Profile: Custom Configuration
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

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