-
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.
Merge pull request #20 from TheJacksonLaboratory/dev
Changing tensorstore to zarr for creating layers
- Loading branch information
Showing
56 changed files
with
547 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -176,4 +176,8 @@ venv/ | |
.DS_Store | ||
|
||
# written by setuptools_scm | ||
**/_version.py | ||
**/_version.py | ||
|
||
.quarto | ||
_site | ||
models |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
/.quarto/ |
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 |
---|---|---|
@@ -0,0 +1,89 @@ | ||
project: | ||
type: website | ||
|
||
metadata-files: | ||
- _sidebar.yml | ||
|
||
website: | ||
page-navigation: true | ||
navbar: | ||
left: | ||
- file: tutorials/ | ||
text: Tutorials | ||
- href: reference/ | ||
text: Reference | ||
|
||
format: | ||
html: | ||
theme: cosmo | ||
css: | ||
- api/_styles-quartodoc.css | ||
- styles.css | ||
toc: true | ||
|
||
quartodoc: | ||
# the name used to import the package you want to create reference docs for | ||
package: napari_activelearning | ||
|
||
# write sidebar data to this file | ||
sidebar: _sidebar.yml | ||
|
||
sections: | ||
- title: Some functions | ||
desc: Functions to inspect docstrings. | ||
contents: | ||
# the functions being documented in the package. | ||
# you can refer to anything: class methods, modules, etc.. | ||
- LayerChannel | ||
- LayersGroup | ||
- ImageGroup | ||
- ImageGroupRoot | ||
- ImageGroupEditor | ||
- MaskGenerator | ||
- ImageGroupsManager | ||
- ImageGroupsManager.set_active_item | ||
- ImageGroupsManager.get_active_item | ||
- ImageGroupsManager.focus_active_item | ||
- ImageGroupsManager.update_group | ||
- ImageGroupsManager.create_group | ||
- ImageGroupsManager.create_layers_group | ||
- ImageGroupsManager.add_layers_to_group | ||
- ImageGroupsManager.remove_layer | ||
- ImageGroupsManager.remove_layers_group | ||
- ImageGroupsManager.remove_group | ||
- ImageGroupsManager.save_layers_group | ||
- ImageGroupsManager.dump_dataset_specs | ||
# - LabelItem | ||
# - LabelGroup | ||
# - LabelGroupRoot | ||
# - LabelsManager | ||
# - LabelsManager.add_labels | ||
# - LabelsManager.remove_labels | ||
# - LabelsManager.remove_labels_group | ||
# - LabelsManager.navigate | ||
# - LabelsManager.focus_region | ||
# - LabelsManager.focus_and_edit_region | ||
# - LabelsManager.edit_labels | ||
# - LabelsManager.commit | ||
- AcquisitionFunction | ||
- compute_BALD | ||
- compute_acquisition_superpixel | ||
- compute_acquisition_fun | ||
- compute_segmentation | ||
- add_multiscale_output_layer | ||
- DropoutEvalOverrider | ||
- add_dropout | ||
- SegmentationMethod | ||
- SegmentationMethod._run_pred | ||
- SegmentationMethod._run_eval | ||
- SegmentationMethod.probs | ||
- SegmentationMethod.segment | ||
- FineTuningMethod | ||
- FineTuningMethod._get_transform | ||
- FineTuningMethod._fine_tune | ||
- FineTuningMethod.fine_tune | ||
- TunableMethod | ||
- AcquisitionFunction | ||
- AcquisitionFunction.compute_acquisition | ||
- AcquisitionFunction.compute_acquisition_layers | ||
- AcquisitionFunction.fine_tune |
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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
website: | ||
sidebar: | ||
- contents: | ||
- reference/index.qmd | ||
- contents: | ||
- reference/LayerChannel.qmd | ||
- reference/LayersGroup.qmd | ||
- reference/ImageGroup.qmd | ||
- reference/ImageGroupRoot.qmd | ||
- reference/ImageGroupEditor.qmd | ||
- reference/MaskGenerator.qmd | ||
- reference/ImageGroupsManager.qmd | ||
- reference/ImageGroupsManager.set_active_item.qmd | ||
- reference/ImageGroupsManager.get_active_item.qmd | ||
- reference/ImageGroupsManager.focus_active_item.qmd | ||
- reference/ImageGroupsManager.update_group.qmd | ||
- reference/ImageGroupsManager.create_group.qmd | ||
- reference/ImageGroupsManager.create_layers_group.qmd | ||
- reference/ImageGroupsManager.add_layers_to_group.qmd | ||
- reference/ImageGroupsManager.remove_layer.qmd | ||
- reference/ImageGroupsManager.remove_layers_group.qmd | ||
- reference/ImageGroupsManager.remove_group.qmd | ||
- reference/ImageGroupsManager.save_layers_group.qmd | ||
- reference/ImageGroupsManager.dump_dataset_specs.qmd | ||
- reference/AcquisitionFunction.qmd | ||
- reference/compute_BALD.qmd | ||
- reference/compute_acquisition_superpixel.qmd | ||
- reference/compute_acquisition_fun.qmd | ||
- reference/compute_segmentation.qmd | ||
- reference/add_multiscale_output_layer.qmd | ||
- reference/DropoutEvalOverrider.qmd | ||
- reference/add_dropout.qmd | ||
- reference/SegmentationMethod.qmd | ||
- reference/SegmentationMethod._run_pred.qmd | ||
- reference/SegmentationMethod._run_eval.qmd | ||
- reference/SegmentationMethod.probs.qmd | ||
- reference/SegmentationMethod.segment.qmd | ||
- reference/FineTuningMethod.qmd | ||
- reference/FineTuningMethod._get_transform.qmd | ||
- reference/FineTuningMethod._fine_tune.qmd | ||
- reference/FineTuningMethod.fine_tune.qmd | ||
- reference/TunableMethod.qmd | ||
- reference/AcquisitionFunction.qmd | ||
- reference/AcquisitionFunction.compute_acquisition.qmd | ||
- reference/AcquisitionFunction.compute_acquisition_layers.qmd | ||
- reference/AcquisitionFunction.fine_tune.qmd | ||
section: Some functions | ||
id: reference | ||
- id: dummy-sidebar |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
title: "About" | ||
--- | ||
|
||
About this site |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: "Active Learning plugin for Napari" | ||
--- | ||
|
||
This is a Quarto website. | ||
|
||
To learn more about Quarto websites visit <https://quarto.org/docs/websites>. |
Large diffs are not rendered by default.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
docs/reference/AcquisitionFunction.compute_acquisition.qmd
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# AcquisitionFunction.compute_acquisition { #napari_activelearning.AcquisitionFunction.compute_acquisition } | ||
|
||
```python | ||
AcquisitionFunction.compute_acquisition( | ||
dataset_metadata | ||
acquisition_fun | ||
segmentation_out | ||
sampling_positions=None | ||
segmentation_only=False | ||
) | ||
``` | ||
|
10 changes: 10 additions & 0 deletions
10
docs/reference/AcquisitionFunction.compute_acquisition_layers.qmd
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# AcquisitionFunction.compute_acquisition_layers { #napari_activelearning.AcquisitionFunction.compute_acquisition_layers } | ||
|
||
```python | ||
AcquisitionFunction.compute_acquisition_layers( | ||
run_all=False | ||
segmentation_group_name='segmentation' | ||
segmentation_only=False | ||
) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# AcquisitionFunction.fine_tune { #napari_activelearning.AcquisitionFunction.fine_tune } | ||
|
||
```python | ||
AcquisitionFunction.fine_tune() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# AcquisitionFunction { #napari_activelearning.AcquisitionFunction } | ||
|
||
```python | ||
AcquisitionFunction( | ||
self | ||
image_groups_manager | ||
labels_manager | ||
tunable_segmentation_method | ||
) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# DropoutEvalOverrider { #napari_activelearning.DropoutEvalOverrider } | ||
|
||
```python | ||
DropoutEvalOverrider(self, dropout_module) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# FineTuningMethod._fine_tune { #napari_activelearning.FineTuningMethod._fine_tune } | ||
|
||
```python | ||
FineTuningMethod._fine_tune(train_data, train_labels, test_data, test_labels) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# FineTuningMethod._get_transform { #napari_activelearning.FineTuningMethod._get_transform } | ||
|
||
```python | ||
FineTuningMethod._get_transform() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# FineTuningMethod.fine_tune { #napari_activelearning.FineTuningMethod.fine_tune } | ||
|
||
```python | ||
FineTuningMethod.fine_tune( | ||
dataset_metadata_list | ||
train_data_proportion=0.8 | ||
patch_sizes=256 | ||
model_axes='YXC' | ||
) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# FineTuningMethod { #napari_activelearning.FineTuningMethod } | ||
|
||
```python | ||
FineTuningMethod(self) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroup { #napari_activelearning.ImageGroup } | ||
|
||
```python | ||
ImageGroup(self, group_name=None, group_dir=None) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupEditor { #napari_activelearning.ImageGroupEditor } | ||
|
||
```python | ||
ImageGroupEditor(self) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupRoot { #napari_activelearning.ImageGroupRoot } | ||
|
||
```python | ||
ImageGroupRoot(self) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.add_layers_to_group { #napari_activelearning.ImageGroupsManager.add_layers_to_group } | ||
|
||
```python | ||
ImageGroupsManager.add_layers_to_group() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.create_group { #napari_activelearning.ImageGroupsManager.create_group } | ||
|
||
```python | ||
ImageGroupsManager.create_group() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.create_layers_group { #napari_activelearning.ImageGroupsManager.create_layers_group } | ||
|
||
```python | ||
ImageGroupsManager.create_layers_group() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.dump_dataset_specs { #napari_activelearning.ImageGroupsManager.dump_dataset_specs } | ||
|
||
```python | ||
ImageGroupsManager.dump_dataset_specs() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.focus_active_item { #napari_activelearning.ImageGroupsManager.focus_active_item } | ||
|
||
```python | ||
ImageGroupsManager.focus_active_item(item) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.get_active_item { #napari_activelearning.ImageGroupsManager.get_active_item } | ||
|
||
```python | ||
ImageGroupsManager.get_active_item() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager { #napari_activelearning.ImageGroupsManager } | ||
|
||
```python | ||
ImageGroupsManager(self, default_axis_labels='TZYX') | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.remove_group { #napari_activelearning.ImageGroupsManager.remove_group } | ||
|
||
```python | ||
ImageGroupsManager.remove_group() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.remove_layer { #napari_activelearning.ImageGroupsManager.remove_layer } | ||
|
||
```python | ||
ImageGroupsManager.remove_layer() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.remove_layers_group { #napari_activelearning.ImageGroupsManager.remove_layers_group } | ||
|
||
```python | ||
ImageGroupsManager.remove_layers_group() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.save_layers_group { #napari_activelearning.ImageGroupsManager.save_layers_group } | ||
|
||
```python | ||
ImageGroupsManager.save_layers_group() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.set_active_item { #napari_activelearning.ImageGroupsManager.set_active_item } | ||
|
||
```python | ||
ImageGroupsManager.set_active_item(item=None) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# ImageGroupsManager.update_group { #napari_activelearning.ImageGroupsManager.update_group } | ||
|
||
```python | ||
ImageGroupsManager.update_group() | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# LabelsManager { #napari_activelearning.LabelsManager } | ||
|
||
```python | ||
LabelsManager(self) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# LayerChannel { #napari_activelearning.LayerChannel } | ||
|
||
```python | ||
LayerChannel(self, layer, channel=0, source_axes='TZYX') | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# LayersGroup { #napari_activelearning.LayersGroup } | ||
|
||
```python | ||
LayersGroup( | ||
self | ||
layers_group_name | ||
source_axes=None | ||
use_as_input_image=False | ||
use_as_sampling_mask=False | ||
) | ||
``` | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# MaskGenerator { #napari_activelearning.MaskGenerator } | ||
|
||
```python | ||
MaskGenerator(self) | ||
``` | ||
|
Oops, something went wrong.