matchSurveys module returns inconsistent common nb of quad
Dear Resipy team,
-
Concern : API, ResIPy_version = '3.3.3'
-
Platform : Linux
-
Problem Description : While trying to compute the common quadrupoles for a TL surveys I figured out that
matchSurveys
would returns a different number of quadrupoles for each time step (for my specific case where nb of quadrupules at T0 < nb of quadripoles at time 1). -
How to reproduce it : use a TL dataset with background time nb of quadrupules < time 1 nb of quadripoles. (I can share the real data if necessary)
-
Possible fix : In
Project.matchSurveys
change the order in the search function using xcommon as the first argument such asindexes.append(np.in1d(xcommon,x))
Thanks for all your work. Best,
Benjamin
Edited by Benjamin Mary