-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Converted units [dx,dt] from pixels/frames to um./sec
- Loading branch information
Showing
6 changed files
with
52 additions
and
39 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,29 @@ | ||
load("workspace_just_tracksFinal.mat") | ||
dt = 0.04; | ||
Label = "DATANAME"; | ||
% polytracker ---a software package for processing data from TIRF fluorescance | ||
% videos | ||
% Copyright © 2017 Bren Osberg <[email protected]> | ||
|
||
R = 1/6 | ||
% ---- master file to run the polytracker software. You should be able | ||
% to hit ctrl+Enter through the commands here after loading your tracksFinal data | ||
% structure into the workspace | ||
|
||
% import tracksFinal, somehow, | ||
% then run this command: | ||
%% ========================================================================== | ||
%% | ||
% ---- DEFINE VARIABLES RELEVANT TO THIS DATASET | ||
|
||
[ life, dens, lumen, Diffdat_p, D_observations] = polytrack( tracksFinal, Label, dt, R); | ||
dt = 0.04; %--- time spacing between frames | ||
px_spacing = 0.01066; %--- pixel spacing (assuming tracksFinal stores position | ||
% coordinates in units of pixels, this factor converts | ||
% the spatial dimension into micrometers. | ||
R = 1/6; %--- the motion blur constant, as defined in Vestergaard et | ||
% al, Phys. Rev. E. 89, (2014). Assuming the camera | ||
% shutter is left on continuously | ||
|
||
Label = "DATANAME"; %--- Some descriptive name for your dataset. | ||
|
||
Nbin = 100; %--- Resolution (number of bins) for your histograms. | ||
|
||
%% ========================================================================== | ||
%% Now run the script: | ||
|
||
[ life, dens, lumen, Diffdat_p, D_observations] = polytrack( tracksFinal, Label, dt, px_spacing, R, Nbin); | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,4 +33,4 @@ | |
|
||
% (nothing with _RAW should be touched after this point ) | ||
|
||
end | ||
end |