Skip to content

[DRAFT] Additional Slicers for the refactor branch#197

Draft
krzywon wants to merge 954 commits into
refactor_24from
refactor_24_slicers
Draft

[DRAFT] Additional Slicers for the refactor branch#197
krzywon wants to merge 954 commits into
refactor_24from
refactor_24_slicers

Conversation

@krzywon
Copy link
Copy Markdown
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

paulneves77 and others added 27 commits March 16, 2026 09:57
* Data sketch

* Units now available and grouped

* More units, towards formatting

* Units and accessors draft ready to begin tests on

* Some tests

* Work towards new data object

* Accessor changes

* Remove duplicate evaluate function.

* Removes duplicate code

* Fills out log operations

* Adds log evaluation tests

* Tidies up operations code

* Corrects derivative for Div operation

* Adds tests

* Refactors Log operation

* Ruff format

* Removes unnecessary file

---------

Co-authored-by: lucas-wilkins <lucas.wilkins@stfc.ac.uk>
Co-authored-by: James Crake-Merani <James.Crake-Merani@stfc.ac.uk>
* Adds exp operation and corrects log derivatives

* Adjusts math library imports

* Adds trig operations

* Adds evaluation tests

* Corrects unary clean signatures

* Adds tests

* Adds clean for exp and ln

* Adds parameterised fixtures

* Addresses review comments
Copy link
Copy Markdown

@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.

@DrPaulSharp DrPaulSharp force-pushed the refactor_24 branch 2 times, most recently from 3533fa3 to 90413d7 Compare May 18, 2026 14:19
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.

6 participants