Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trajectory length #36

Open
OpenPTVuser opened this issue Feb 25, 2019 · 8 comments
Open

trajectory length #36

OpenPTVuser opened this issue Feb 25, 2019 · 8 comments

Comments

@OpenPTVuser
Copy link

Hello Yosef and Alex,
Thank you for the valuable package you provided.
I am using flowtracks for Lagrangian studies and I have two questions I hope you can help me with those:

  1. I get the length of each trajectory by using following line:
    traj.pos()[-1,0]-traj.pos()[0,0]
    the maximum length I get is 0.16 but when I plot traj positions I see the maximum length of the trajectories is equal to the length of the observation volume (0.3 m).
    my guess is that the plot function just join small trajectories and make a longer one or so. If yes, based on what criteria it does that? Please correct me if I am wrong.
    2)is there any class for Lyapunov exponent calculation in flowtracks?
    Thank you for all the help,
@alexlib
Copy link
Contributor

alexlib commented Feb 25, 2019

Hi @OpenPTVuser - (it would be nice to know your in person :))

I'm not sure about "1. I see the maximum length" - let's get a small sample here (h5 file) and we'll take a look. Maybe it only looks visually longer. Note that here you refer to the 'x' direction - maybe you see the 'y' direction longer? what does it say: traj.pos()[-1,1] - traj.pos()[0,1]

  1. Not yet, I think we'll need to think if it's a common request and maybe add it in the future. If you have some time and make some progress, please share it .

@OpenPTVuser
Copy link
Author

Hi,
Sorry for my delayed reply. So I checked and it turns out the length of the trajectory in plot is equal to the calculated one so the problem solved. But I see some of the trajectories start from minus x. I wonder why the start point of each trajectory is not x=0?
Also I noticed I trajectories are seen only on one side of the flow, How do you think I can check the reasons for this?(attached file)
about the finite time Lyapunov exponent, I am trying to apply one the previous works in mechnical engineering. I will let you know any progress.
thanks,
Nikki,

@alexlib
Copy link
Contributor

alexlib commented Mar 4, 2019

Hi,
I do not see the attached file, so please share it again.
regarding the negative 'x' - it's absolutely normal and it depends on the coordinate system that was defined by your calibration.
good luck with the Lyapunov exponents.

@OpenPTVuser
Copy link
Author

trajects_over150

@OpenPTVuser
Copy link
Author

Please find the attached. The observation area is 30*30 cm.

@alexlib
Copy link
Contributor

alexlib commented Mar 5, 2019

Looks very good. what is the problem, please @OpenPTVuser ?

@OpenPTVuser
Copy link
Author

The question is that what could be the possible reasons that I do not get the trajectories on the other side of the flow?
Is the code sensitive to the mean velocity? because the mean velocity of the other side is quiet higher.
Thanks,

@alexlib
Copy link
Contributor

alexlib commented Mar 5, 2019

could be, also calibration can be another reason.

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

No branches or pull requests

2 participants