Spot navigator
Project description
Tracy
Install
- Open your terminal
- Mac: just open Terminal
- Windows: install Anaconda and use the Anaconda prompt as the terminal
conda create -n tracy python=3.10 -yconda activate tracypip install tracyspot
Getting started
Start Tracy
- Open your terminal
conda activate tracyif not already activepip install tracyspot --upgradealways update while tracy is in betatracy &it might be slow to open the first time
Load your movie
- Click
Load Movie(also in the Load menu) - Choose any single- or multi-channel movie (.tif format)
- If the pixel size and frame interval could not be loaded from the metadata, you will be prompted to enter them
- Once loaded, toggle between channels with the number keys
- Use the
Mshortcut to show/hide the maximum projection - Adjust the contrast using the contrast slider
Browse spots
- Click on the movie to find a spot using the click position as the search center
- The blue square marks the search area around the center
- The magenta circle marks the spot that was found (the circle radius is 2 standard deviations)
- Hover over the top-right inset to see a 3D representation of the fit (scroll to zoom, click and drag to rotate)
- You can modify the search radius by holding down the
Rkey and scrolling (or in the Spot menu) - Use the slider under the movie to browse frames
Drift correction
- If your movie drifts, find a spot that is present throughout the movie and is stationary
- Click the spot (any frame) and make sure it has been found (magenta circle)
- In the Movie menu, click
Correct Drift - Check the result in the pop-up and save/load the movie if acceptable
Kymographs
- To generate a kymograph, enter
Linemode using the switch under the movie (shortcut:N) - Optionally, enter maximum-projection mode to better see where you should draw lines
- Draw the segmented line by placing green anchors on the movie
- Double-click to complete the sequence and store a kymograph
- If your movie has multiple channels, a kymograph will be generated for each, which will show when you toggle between channels (number keys)
Track using kymograph reference
- To track a spot in the movie using the kymograph as a reference, draw a segmented line by placing blue anchors on the kymograph
- Double-click to complete the sequence to generate a trajectory, where spot centers are searched in the movie from the linear interpolation between clicks
- Press the space bar to play a movie of the trajectory
- Assess the plots
- The spot histogram shows the pixel intensities in the search range around the spot center and highlights the intensities within the spot
- The intensity plot shows each spot's integrated intensity
- The speed histogram shows the frame-to-frame speeds of the spots and overlay sthe net speed (only considering the start and end point)
- If necessary, modify the search radius (hold down
Rand scroll) and re-attempt (Enterkey) - If necessary, toggle tracking modes with the
Tkey and re-attempt (Enterkey)- Independent: each frame is treated independently using the interpolated search centers
- Tracked: each frame's search center is based on the previous frame's spot center
- Smooth: equivalent to Independent mode but goes through a filtering at the end to remove spots that are far off the main track
- Click any point in the kymograph or in the intensity plot to jump to that point
Modify individual points
- When a point is highlighted, use the
Xkey to either invalidate the spot or re-attempt a fit if it is already invalid
Browse trajectories
- Adding trajectories will append the data to the trajectory table
- Right click a trajectory in the table to show some helpful options, like Go to kymograph ch1-001
License
This project is licensed under the MIT License - see the LICENSE.txt file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tracyspot-1.0.26.tar.gz
(297.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tracyspot-1.0.26-py3-none-any.whl
(298.3 kB
view details)
File details
Details for the file tracyspot-1.0.26.tar.gz.
File metadata
- Download URL: tracyspot-1.0.26.tar.gz
- Upload date:
- Size: 297.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edbbc6271917cbd6bcad8abf36ca716ceef71f623b89f94d6f759f4a1bd9326e
|
|
| MD5 |
19f0fca37b80b85b6e86bde5bf373aa8
|
|
| BLAKE2b-256 |
7a1e7223401f065a1711bbe45707d0a2a0e4c986c320e63a051713f1d6ed0e89
|
File details
Details for the file tracyspot-1.0.26-py3-none-any.whl.
File metadata
- Download URL: tracyspot-1.0.26-py3-none-any.whl
- Upload date:
- Size: 298.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4e3d1bba80e98d3ca1fa57f79375c7ea5ca56b7ca83f848f2a3c1ded0f68d74
|
|
| MD5 |
e01c7be2f00936d4d49ed620196c3cf1
|
|
| BLAKE2b-256 |
4ee6bad30bd652282dc2c2e39c15347a2b68cd2cadcbe87dfca957ba0dea28dd
|