Skip to content

Commit

Permalink
updated workflow and a bit of docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JoOkuma committed Oct 17, 2024
1 parent 7bc5490 commit ba3730d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ concurrency:
group: "pages"
cancel-in-progress: true

env:
TQDM_DISABLE: 1

jobs:
# Single deploy job since we're just deploying
deploy:
Expand All @@ -43,7 +46,7 @@ jobs:
with:
run: |
pip install -r requirements.txt
export TQDM_DISABLE=1; jupyter book build tutorial
jupyter book build tutorial
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
3 changes: 2 additions & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ dependencies:
- pip:
- py-ctcmetrics
- napari
- ultrack
- git+https:/royerlab/ultrack
- napari-plot-profile
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ napari-animation
matplotlib
py-ctcmetrics
cellpose
ultrack
git+https:/royerlab/ultrack
2 changes: 2 additions & 0 deletions tutorial/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ we will try to help you get unstuck.
In this tutorial, we will install Python via miniforge, a distribution of
Python based in the [conda package manager](https://docs.conda.io/en/latest/).

```{note}
If you already have anaconda, miniconda, or miniforge installed, those will work
as well and you can skip to the bottom of this page to set up the conda environment.
```

1. In your web browser, navigate to the
[miniforge page](https:/conda-forge/miniforge).
Expand Down
9 changes: 5 additions & 4 deletions tutorial/tracking.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jupytext:
text_representation:
extension: .md
format_name: myst
format_version: 1.0.4
format_version: 0.13
jupytext_version: 1.16.4
kernelspec:
display_name: Python 3 (ipykernel)
Expand All @@ -14,18 +14,19 @@ kernelspec:

# 2D cell tracking with multiple hypotheses

+++

This tutorial shows Ultrack's multiple hypotheses tracking capabilities.

Here, rather than searching for an optimal segmentation parameter, we sampled multiple segmentations with different parametrizations and used Ultrack to find the best segments, obtaining more accurate cell tracking.
We will start with a simple classical image processing solution with ultrack and tracking cells for image intensities directly. Then, we will progress to using Cellpose and finally use multiple Cellpose segmentations to improve tracking performance without training our own segmentation model showcasing the improvement when a single segmentation isn't good enough.

## Download data

Download the Fluo-C2DL-Huh7 dataset from the [Cell Tracking Challenge](celltrackingchallenge.net), which contains fluorescence microscopy images for cell tracking.

The dataset will be used for demonstrating the segmentation and tracking workflow.


```{code-cell} python
```{code-cell} ipython3
:tags: [remove-output]
!wget -nc http://data.celltrackingchallenge.net/training-datasets/Fluo-C2DL-Huh7.zip
Expand Down

0 comments on commit ba3730d

Please sign in to comment.