Skip to content
Snippets Groups Projects
Commit 6a0d6977 authored by Andrey Aristov's avatar Andrey Aristov
Browse files

merge to main

parent da81b6b2
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
%% Cell type:code id:2ae2bab7-a76d-489a-82db-541b3b35998d tags:
``` python
from droplet_growth import multiwell
import tifffile as tf
```
%% Cell type:code id:a31037f7-f7f7-4523-876a-806d0cf4e799 tags:
``` python
big_labels = tf.imread('Y:/Lena/Data/labels_bin2+100.tif')
template16 = tf.imread('Y:/Lena/Data/20210518_control/template_bin16_bf_mask.tif')[0]
```
%% Cell type:code id:740a2dde-a75e-402e-b4a3-056d230b56ef tags:
``` python
mean_proj = tf.imread('Y:Lena/Data//20220111-MIC-resistant/timelapse-30min/0ng-TRITC-19h_meanIP.tif')
```
%% Cell type:code id:73d33d14-935a-4430-9640-864d25d9d70a tags:
``` python
aligned_meanIP = register.align_timelapse(bf[0,0,0], mean_proj[:,0], template16=template16, mask2=big_labels, binnings=(2,16,2))
```
%% Cell type:code id:1797f6de-4e51-4da9-86f2-0e5bf411e491 tags:
``` python
fluo = np.array(aligned_meanIP[1]).reshape((39, 1, 1, 6544, 20896))
```
%% Cell type:code id:e21e05be-06b4-4889-814c-e701b9f0180a tags:
``` python
fluo.shape
```
%% Cell type:code id:f52b459a-c3db-423c-a53b-d54a2b64f6a2 tags:
``` python
labels = tf.imread('Y:/Lena/Data/20220111-MIC-resistant/timelapse-30min/lables.tif')
```
%% Cell type:code id:31849d84-0452-4db2-b1d1-873e42ca4353 tags:
``` python
intensities = multiwell.get_intensity_table(labelled_mask=labels.astype('int'), intensity_image_sequence=fluo[:,0,0])
```
%% Cell type:code id:84defb2a-71b0-47b6-b44e-82053d030675 tags:
``` python
intensities.loc[:, 'h'] = intensities.time * .5
```
%% Cell type:code id:35aca943-50f6-48fb-92fe-55163b6105d7 tags:
``` python
intensities.to_csv("Y:Lena/Data/20220111-MIC-resistant/timelapse-30min/intesities.csv", index=None)
```
zarr.ipynb 0 → 100644
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment