Skip to content

Conversation

@AndrewSazonov
Copy link
Member

This PR introduces support for defining and handling excluded regions during data analysis.

Key changes include:

  • Implemented logic to exclude specific data points from fitting calculations.
  • Extended Collection with parent handling and on_item_added callback.
  • Improved tutorial notebooks to demonstrate usage of excluded regions.
  • Minor cleanup and formatting improvements throughout related components.

Moves the logic for updating excluded points from minimization to ExcludedRegions, ensuring better modularity.
Optimizes the process of updating the pattern's excluded points
by avoiding unnecessary resets with each new excluded region.

Initializes pattern's excluded points with default values on data load.
@AndrewSazonov AndrewSazonov added [scope] enhancement Adds/improves features (major.MINOR.patch) [priority] highest Urgent. Needs attention ASAP labels Jul 5, 2025
@AndrewSazonov AndrewSazonov added this to the New API Stabilization milestone Jul 5, 2025
Rounds x-values to 4 decimal places to align data size
Replaces small uncertainty values with 1.0 to prevent
failures in minimization algorithms
@AndrewSazonov AndrewSazonov merged commit c739562 into develop Jul 5, 2025
@AndrewSazonov AndrewSazonov deleted the excluded-regions branch August 6, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[priority] highest Urgent. Needs attention ASAP [scope] enhancement Adds/improves features (major.MINOR.patch)

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants