Skip to content

Raise warnings for extreme extrapolation or interpolation #243

Closed

Description

@Sparks29032
  • Give extrapolation warnings based on low_extrap and high_extrap in MorphSqueeze.py
  • Give similar extrapolation warnings for shifting and stretching the grid
  • Give warnings in MorphRGrid when the average grid density is significantly smaller than the maximum grid step (we should have a conversation about the threshold and nature of this warning)

Activity

  1. Sparks29032 commented on Sep 2, 2025

    @Sparks29032
    CollaboratorAuthor

    @ycexiao We should modify the code in PR #250 to only give a warning when the refinement is complete. Otherwise, the user will be given tens of warnings, but only need to look at the last one.

    Edited: New function made in the io file for warning post-refinement. If we can do a similar job for stretch and hshift that would be nice, but not absolutely a priority.

  2. sbillinge commented on Sep 30, 2025

    @sbillinge
    Contributor

    @Sparks29032 @ycexiao please review this. Can it be closed by#258?

  3. Sparks29032 commented on Sep 30, 2025

    @Sparks29032
    CollaboratorAuthor

    Let's close this for now, since the MorphRGrid discussion is a bit nuanced. I will open a new issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions