Skip to content

Conversation

CoriPegliasco
Copy link
Collaborator

  • add parameter presampling_multiplier to evenly over-resample before fitting circles
  • fit circles to get eddy parameters (radius, area, etc)
  • resample the contours with the output sampling

xy_i = uniform_resample(
inner_contour.lon,
inner_contour.lat,
fixed_size=inner_contour.lon.shape[0] * presampling_multiplier,
Copy link
Owner

Choose a reason for hiding this comment

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

you must use num_fac option instead of fixed_size :

def uniform_resample(x_val, y_val, num_fac=2, fixed_size=None):

- add parameter presampling_multiplier to evenly over-resample before fitting circles
- fit circles to get eddy parameters (radius, area, etc)
- resample the contours with the output sampling
@AntSimi AntSimi merged commit c434372 into AntSimi:master Nov 28, 2021
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.

2 participants