-
Notifications
You must be signed in to change notification settings - Fork 16
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
Adding functionalities #2
Open
AsterVanhecke
wants to merge
12
commits into
tinevez:master
Choose a base branch
from
AsterVanhecke:adding-functionalities
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Adding functionalities #2
AsterVanhecke
wants to merge
12
commits into
tinevez:master
from
AsterVanhecke:adding-functionalities
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getStepsizes is a method for the msdanalyzer object that returns a cell array with the step sizes, either in x and y or absolute distance, for each step in each track. Inspecting the distribution of step sizes can be useful to show the precision (lower step size), find different diffusion speeds (multiple peaks), comparing between experiments with different time steps (do step sizes get bigger, or are they limited by precision) Code is based on "getVelocities".
getSDdt is a method for the msdanalyzer object that returns a cell array with, for each step in each track, the squared displacement for that step divided by the time step. This complements the "getStepsizes" function: the distribution of the square displacement per time should be the same between experiments with different time steps. Different peaks can indicate different diffusive states of the tracked particles. Code is based on "getVelocities" and "getStepsizes".
to plotMSD, added the option to hide the (0,0) points on the MSDplot. The line between (0,0) and the first point would often obscure other data, in the case of big pooled datasets with different time steps.
Suppresses command line output. Main reason is that the progress counter does not work when used in Jupyter Notebook leading to output spam.
fixed a bug where time delays would be interpreted as different when they differ very slightly due to limited precision
silent option: no progress printed in command line
See Backlund et al. 2015 "Chromosomal locus tracking with proper accounting of static and dynamic errors"
- use parallel computing - increased upper bound for D (ub(1)) - initial guess for D is now based on MSD closest to t=1s. (p0)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Jean-Yves Tinevez,
I found your msdanalyzer code very useful for my research. I am examining tracks from different experiments with different time steps. One of the questions is whether we can see different diffusion states for our particles. However, there were a few functionalities that I missed in msdanalyzer, and wrote myself, included in this pull request:
All the best,
Aster
P.S.: this is my first pull request, so let me know if I did anything wrong.