Skip to content

Commit f73c06f

Browse files
authored
Add a script showing how to export to CSV, ...
Also use the new script names.
1 parent 7ff6649 commit f73c06f

File tree

1 file changed

+17
-6
lines changed

1 file changed

+17
-6
lines changed

_pages/plugins/trackmate/scripting/scripting.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@ Here is an example of full tracking process, using the easy image found in the [
3939
- Then the [TrackMate](/plugins/trackmate) object performs all the steps needed.
4040
- The final results is displayed as an overlay.
4141

42-
{% include code org='fiji' repo='TrackMate' branch='master' path='scripts/ExampleScript_1.py' %}
43-
42+
{% include code org='fiji' repo='TrackMate' branch='master' path='scripts/ExampleScript_ExecTracking.py' %}
43+
44+
4445
## Loading and reading from a saved TrackMate XML file
4546

4647
Scripting is a good way to interrogate and play non-interactively with tracking results. The example below shows how to load a XML TrackMate file and rebuild a full working model from it.
@@ -49,9 +50,10 @@ That way you could for instance redo a full tracking process by only changing on
4950

5051
For the example below to work for you, you will have to edit line 25 and put the actual path to your TrackMate file.
5152

52-
{% include code org='fiji' repo='TrackMate' branch='master' path='scripts/ExampleScript_2.py' %}
53+
{% include code org='fiji' repo='TrackMate' branch='master' path='scripts/ExampleScript_ReadTrackMateFile.py' %}
5354

54-
## Export spot, edge and track numerical features after tracking
55+
56+
## Display spot, edge and track numerical features after tracking
5557

5658
This example shows how to extract numerical features from tracking results.
5759

@@ -72,7 +74,16 @@ Finally, depending on their type, numerical features are not stored at the same
7274

7375
Check the script below to see a working example.
7476

75-
{% include code org='fiji' repo='TrackMate' branch='master' path='scripts/ExampleScript_3.py' %}
77+
{% include code org='fiji' repo='TrackMate' branch='master' path='scripts/ExampleScript_GetTrackingData.py' %}
78+
79+
80+
## Exporting to TrackMate file, to CSV files, to simple track files
81+
82+
This script demonstrates several ways by which TrackMate data can be exported to files. Mainly: 1/ to a TrackMate XML file, 2/ & 3/ to CSV files, 4/ to a simplified XML file, for linear tracks.
83+
84+
{% include code org='fiji' repo='TrackMate' branch='master' path='scripts/ExampleScript_ExportToFiles.py' %}
85+
86+
7687
7788
## Manually creating a model
7889

@@ -104,7 +115,7 @@ Spot quality and link cost are typically useful to quantify automatic spot detec
104115

105116
The script below does this: ![](/media/plugins/trackmate/trackmate-animatedname.gif)
106117

107-
{% include code org='fiji' repo='TrackMate' branch='master' path='scripts/ExampleScript_4.py' %}
118+
{% include code org='fiji' repo='TrackMate' branch='master' path='scripts/ExampleScript_CreateTrackingData.py' %}
108119

109120
## Making TrackMate macro recordable with a 64-line script
110121

0 commit comments

Comments
 (0)