cjekel / similarity_measures

Quantify the difference between two arbitrary curves in space
MIT License
245 stars 41 forks source link

Comparison of different coordinate axis curves #12

Open zhang-zimin opened 3 years ago

zhang-zimin commented 3 years ago

What should I do if the coordinate axes of the two curves are different? For example, one of them is a logarithmic axis.

cjekel commented 3 years ago

If one curve has a log axis and the other curve doesn't, you'll need to transform one of the two curves such that they are both on the same axis.

You should be able to notice when one curve is on a different axis because it should have a larger error (or distance). You can confirm this by taking one curve, transforming one of the axis, and comparing this transformed curve with the original curve.

It is okay if both curves have a single logarithmic axis, assuming it is the same one.

Does this help a bit?

zhang-zimin commented 3 years ago

thank!