Raw
add_basic_info_no_save(nb)
This adds the basic_info
page to the notebook without saving the notebook.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
nb |
Notebook
|
Notebook with no |
required |
Source code in coppafish/plot/raw.py
11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
get_raw_images(nb, tiles, rounds, channels, use_z)
This loads in raw images for the experiment corresponding to the Notebook.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
nb |
Notebook
|
Notebook for experiment |
required |
tiles |
List[int]
|
npy (as opposed to nd2 fov) tile indices to view. For an experiment where the tiles are arranged in a 4 x 3 (ny x nx) grid, tile indices are indicated as below: | 2 | 1 | 0 | | 5 | 4 | 3 | | 8 | 7 | 6 | | 11 | 10 | 9 | |
required |
rounds |
List[int]
|
Rounds to view. |
required |
channels |
List[int]
|
Channels to view. |
required |
use_z |
List[int]
|
Which z-planes to load in from raw data. |
required |
Returns:
Type | Description |
---|---|
np.ndarray
|
|
np.ndarray
|
|
np.ndarray
|
|
Source code in coppafish/plot/raw.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
|
view_raw(nb=None, tiles=0, rounds=0, channels=None, use_z=None, config_file=None)
Function to view raw data in napari. There will upto 4 scrollbars for each image to change tile, round, channel and z-plane.
Requires access to nb.file_names.input_dir
Parameters:
Name | Type | Description | Default |
---|---|---|---|
nb |
Optional[Notebook]
|
Notebook for experiment. If no Notebook exists, pass |
None
|
tiles |
Union[int, List[int]]
|
npy (as opposed to nd2 fov) tile indices to view. For an experiment where the tiles are arranged in a 4 x 3 (ny x nx) grid, tile indices are indicated as below: | 2 | 1 | 0 | | 5 | 4 | 3 | | 8 | 7 | 6 | | 11 | 10 | 9 | |
0
|
rounds |
Union[int, List[int]]
|
rounds to view ( |
0
|
channels |
Optional[Union[int, List[int]]]
|
Channels to view. If |
None
|
use_z |
Optional[Union[int, List[int]]]
|
Which z-planes to load in from raw data. If |
None
|
config_file |
Optional[str]
|
path to config file for experiment. |
None
|
Source code in coppafish/plot/raw.py
91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 |
|