optimouse 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- modules/__init__.py +21 -0
- modules/bruker_concat_tif.py +650 -0
- modules/compute_zcorr.py +2040 -0
- modules/extraction.py +559 -0
- modules/motion_correction.py +982 -0
- modules/utils/plot_zones.py +125 -0
- modules/utils/save_z_motion_args.py +93 -0
- optimouse-0.1.0.dist-info/METADATA +321 -0
- optimouse-0.1.0.dist-info/RECORD +24 -0
- optimouse-0.1.0.dist-info/WHEEL +5 -0
- optimouse-0.1.0.dist-info/licenses/LICENSE.md +21 -0
- optimouse-0.1.0.dist-info/top_level.txt +2 -0
- pipeline/__init__.py +0 -0
- pipeline/configs/config_C57_O1M2_10022023_run1run2.json +107 -0
- pipeline/configs/config_C57_O1M2_10022023_run1run2run3run4.json +114 -0
- pipeline/configs/config_template_cnmf.json +123 -0
- pipeline/configs/config_template_suite2p.json +102 -0
- pipeline/configs/config_test.json +114 -0
- pipeline/pipeline_cnmf.py +263 -0
- pipeline/pipeline_mcorr.py +299 -0
- pipeline/roi_zcorr.py +65 -0
- pipeline/utils/__init__.py +0 -0
- pipeline/utils/config_loader.py +92 -0
- pipeline/utils/pipeline_utils.py +537 -0
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
{
|
|
2
|
+
"experimenter": "Manuel Levy",
|
|
3
|
+
"subject": {
|
|
4
|
+
"name": "C57_O1M2",
|
|
5
|
+
"genotype": "C57/Bl6",
|
|
6
|
+
"sex": "F",
|
|
7
|
+
"DOB": "14-Feb-2023",
|
|
8
|
+
"virus": "PHP.eB.syn.RiboL1.GCaMP8m",
|
|
9
|
+
"reporter": "GCaMP8m",
|
|
10
|
+
"injection_date": "01-Aug-2023",
|
|
11
|
+
"area": "BC_R"
|
|
12
|
+
},
|
|
13
|
+
"imaging": {
|
|
14
|
+
"date": "10022023",
|
|
15
|
+
"objective": 16,
|
|
16
|
+
"numerical_zoom": 1,
|
|
17
|
+
"wavelength": 920,
|
|
18
|
+
"power": 530,
|
|
19
|
+
"depth": 160,
|
|
20
|
+
"fr": 20,
|
|
21
|
+
"Npixel_x": 765,
|
|
22
|
+
"Npixel_y": 765,
|
|
23
|
+
"microns_per_pixel": 1.4542483660130718
|
|
24
|
+
},
|
|
25
|
+
"paths": {
|
|
26
|
+
"concatenation_groups": [
|
|
27
|
+
1,
|
|
28
|
+
1
|
|
29
|
+
],
|
|
30
|
+
"data_paths": [
|
|
31
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/TSeries-10022023-1300-001",
|
|
32
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/TSeries-10022023-1300-002"
|
|
33
|
+
],
|
|
34
|
+
"export_paths": [
|
|
35
|
+
"/home/wanglab/data/2P/Analysis_2P/C57_O1M2/10022023/run1run2/test_spintop"
|
|
36
|
+
],
|
|
37
|
+
"zstack_paths": [
|
|
38
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/ZSeries-10022023-1300-004"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"params_mcorr": {
|
|
42
|
+
"method": "caiman",
|
|
43
|
+
"main": {
|
|
44
|
+
"strides": [
|
|
45
|
+
36,
|
|
46
|
+
36
|
|
47
|
+
],
|
|
48
|
+
"overlaps": [
|
|
49
|
+
24,
|
|
50
|
+
24
|
|
51
|
+
],
|
|
52
|
+
"max_shifts": [
|
|
53
|
+
12,
|
|
54
|
+
12
|
|
55
|
+
],
|
|
56
|
+
"max_deviation_rigid": 40,
|
|
57
|
+
"border_nan": "copy",
|
|
58
|
+
"pw_rigid": true,
|
|
59
|
+
"gSig_filt": null
|
|
60
|
+
},
|
|
61
|
+
"save_mcorr_movie": "tiff",
|
|
62
|
+
"z_motion_correction": {
|
|
63
|
+
"zstack_shift": {
|
|
64
|
+
"Ch": 2,
|
|
65
|
+
"alpha": 22,
|
|
66
|
+
"beta": 8,
|
|
67
|
+
"step": 1,
|
|
68
|
+
"Nz": 41
|
|
69
|
+
},
|
|
70
|
+
"non_rigid": true
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"params_extraction": {
|
|
74
|
+
"method": "cnmf",
|
|
75
|
+
"main": {
|
|
76
|
+
"p": 0,
|
|
77
|
+
"nb": 1,
|
|
78
|
+
"merge_thr": 0.8,
|
|
79
|
+
"rf": 20,
|
|
80
|
+
"stride": 10,
|
|
81
|
+
"K": 8,
|
|
82
|
+
"gSig": [
|
|
83
|
+
4,
|
|
84
|
+
4
|
|
85
|
+
],
|
|
86
|
+
"ssub": 1,
|
|
87
|
+
"tsub": 1,
|
|
88
|
+
"method_init": "greedy_roi",
|
|
89
|
+
"min_SNR": 3.5,
|
|
90
|
+
"SNR_lowest": 2.5,
|
|
91
|
+
"rval_thr": 0.85,
|
|
92
|
+
"rval_lowest": 0.2,
|
|
93
|
+
"use_cnn": true,
|
|
94
|
+
"min_cnn_thr": 0.95,
|
|
95
|
+
"cnn_lowest": 0.2,
|
|
96
|
+
"decay_time": 0.3
|
|
97
|
+
},
|
|
98
|
+
"refit": true
|
|
99
|
+
},
|
|
100
|
+
"params_extra": {
|
|
101
|
+
"cleanup": true
|
|
102
|
+
},
|
|
103
|
+
"logging": {
|
|
104
|
+
"log_path": "/home/wanglab/data/2P/Analysis_2P/C57_O1M2",
|
|
105
|
+
"log_level": "INFO"
|
|
106
|
+
}
|
|
107
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"experimenter": "Manuel Levy",
|
|
3
|
+
"subject": {
|
|
4
|
+
"name": "C57_O1M2",
|
|
5
|
+
"genotype": "C57/Bl6",
|
|
6
|
+
"sex": "F",
|
|
7
|
+
"DOB": "14-Feb-2023",
|
|
8
|
+
"virus": "PHP.eB.syn.RiboL1.GCaMP8m",
|
|
9
|
+
"reporter": "GCaMP8m",
|
|
10
|
+
"injection_date": "01-Aug-2023",
|
|
11
|
+
"area": "BC_R"
|
|
12
|
+
},
|
|
13
|
+
"imaging": {
|
|
14
|
+
"date": "10022023",
|
|
15
|
+
"objective": 16,
|
|
16
|
+
"numerical_zoom": 1,
|
|
17
|
+
"wavelength": 920,
|
|
18
|
+
"power": 530,
|
|
19
|
+
"depth": 160,
|
|
20
|
+
"fr": 20,
|
|
21
|
+
"Npixel_x": 765,
|
|
22
|
+
"Npixel_y": 765,
|
|
23
|
+
"microns_per_pixel": 1.4542483660130718
|
|
24
|
+
},
|
|
25
|
+
"paths": {
|
|
26
|
+
"concatenation_groups": [
|
|
27
|
+
1,
|
|
28
|
+
1,
|
|
29
|
+
1,
|
|
30
|
+
1
|
|
31
|
+
],
|
|
32
|
+
"data_paths": [
|
|
33
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/TSeries-10022023-1300-001",
|
|
34
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/TSeries-10022023-1300-002",
|
|
35
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/TSeries-10022023-1300-003",
|
|
36
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/TSeries-10022023-1529-004"
|
|
37
|
+
],
|
|
38
|
+
"export_paths": [
|
|
39
|
+
"/home/wanglab/data/2P/Analysis_2P/C57_O1M2/10022023/run1run2run3run4/test_spintop"
|
|
40
|
+
],
|
|
41
|
+
"zstack_paths": [
|
|
42
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/ZSeries-10022023-1300-004",
|
|
43
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/ZSeries-10022023-1300-004",
|
|
44
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/ZSeries-10022023-1300-004",
|
|
45
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/ZSeries-10022023-1300-004"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"params_mcorr": {
|
|
49
|
+
"method": "caiman",
|
|
50
|
+
"main": {
|
|
51
|
+
"strides": [
|
|
52
|
+
36,
|
|
53
|
+
36
|
|
54
|
+
],
|
|
55
|
+
"overlaps": [
|
|
56
|
+
24,
|
|
57
|
+
24
|
|
58
|
+
],
|
|
59
|
+
"max_shifts": [
|
|
60
|
+
12,
|
|
61
|
+
12
|
|
62
|
+
],
|
|
63
|
+
"max_deviation_rigid": 40,
|
|
64
|
+
"border_nan": "copy",
|
|
65
|
+
"pw_rigid": true,
|
|
66
|
+
"gSig_filt": null
|
|
67
|
+
},
|
|
68
|
+
"save_mcorr_movie": "tiff",
|
|
69
|
+
"z_motion_correction": {
|
|
70
|
+
"zstack_shift": {
|
|
71
|
+
"Ch": 2,
|
|
72
|
+
"alpha": 22,
|
|
73
|
+
"beta": 8,
|
|
74
|
+
"step": 1,
|
|
75
|
+
"Nz": 41
|
|
76
|
+
},
|
|
77
|
+
"non_rigid": true
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"params_extraction": {
|
|
81
|
+
"method": "cnmf",
|
|
82
|
+
"main": {
|
|
83
|
+
"p": 0,
|
|
84
|
+
"nb": 1,
|
|
85
|
+
"merge_thr": 0.8,
|
|
86
|
+
"rf": 20,
|
|
87
|
+
"stride": 10,
|
|
88
|
+
"K": 8,
|
|
89
|
+
"gSig": [
|
|
90
|
+
4,
|
|
91
|
+
4
|
|
92
|
+
],
|
|
93
|
+
"ssub": 1,
|
|
94
|
+
"tsub": 1,
|
|
95
|
+
"method_init": "greedy_roi",
|
|
96
|
+
"min_SNR": 3.5,
|
|
97
|
+
"SNR_lowest": 2.5,
|
|
98
|
+
"rval_thr": 0.85,
|
|
99
|
+
"rval_lowest": 0.2,
|
|
100
|
+
"use_cnn": true,
|
|
101
|
+
"min_cnn_thr": 0.95,
|
|
102
|
+
"cnn_lowest": 0.2,
|
|
103
|
+
"decay_time": 0.3
|
|
104
|
+
},
|
|
105
|
+
"refit": true
|
|
106
|
+
},
|
|
107
|
+
"params_extra": {
|
|
108
|
+
"cleanup": true
|
|
109
|
+
},
|
|
110
|
+
"logging": {
|
|
111
|
+
"log_path": "/home/wanglab/data/2P/Analysis_2P/C57_O1M2",
|
|
112
|
+
"log_level": "INFO"
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"experimenter":"FirstName LastName",
|
|
3
|
+
"subject":{
|
|
4
|
+
"name":"SUBJECT_ID",
|
|
5
|
+
"sex":"M/F/U",
|
|
6
|
+
"DOB":"DD-MM-YYYY",
|
|
7
|
+
"genotype":"Strain or Genotype",
|
|
8
|
+
"virus":"Virus.Name",
|
|
9
|
+
"reporter":"Reporter_Name",
|
|
10
|
+
"injection_date":"DD-MM-YYYY",
|
|
11
|
+
"area":"Brain_Area"
|
|
12
|
+
},
|
|
13
|
+
"imaging": {
|
|
14
|
+
"date":"SESSION_DATE",
|
|
15
|
+
"objective": 16,
|
|
16
|
+
"numerical_zoom": 1,
|
|
17
|
+
"wavelength": 920,
|
|
18
|
+
"power": 530,
|
|
19
|
+
"depth": 160,
|
|
20
|
+
"fr": 20,
|
|
21
|
+
"Npixel_x": 765,
|
|
22
|
+
"Npixel_y": 765,
|
|
23
|
+
"microns_per_pixel": 1.4542483660130718
|
|
24
|
+
},
|
|
25
|
+
"paths": {
|
|
26
|
+
"concatenation_groups": [
|
|
27
|
+
1,
|
|
28
|
+
1,
|
|
29
|
+
1,
|
|
30
|
+
1
|
|
31
|
+
],
|
|
32
|
+
"data_paths": [
|
|
33
|
+
"DATA_ROOT/SUBJECT_ID/SESSION_DATE/TSeries-SESSION_DATE-1300-001",
|
|
34
|
+
"DATA_ROOT/SUBJECT_ID/SESSION_DATE/TSeries-SESSION_DATE-1300-002",
|
|
35
|
+
"DATA_ROOT/SUBJECT_ID/SESSION_DATE/TSeries-SESSION_DATE-1300-003",
|
|
36
|
+
"DATA_ROOT/SUBJECT_ID/SESSION_DATE/TSeries-SESSION_DATE-1529-004"
|
|
37
|
+
],
|
|
38
|
+
"export_paths": [
|
|
39
|
+
"EXPORT_ROOT/SUBJECT_ID/SESSION_DATE/run1run2run3run4/suite2p"
|
|
40
|
+
],
|
|
41
|
+
"__comment_zstack_paths": "Point to the raw z-stack directory. One per concatenation group (one per data folder works too). If not used, can be removed entirely or left empty.",
|
|
42
|
+
"zstack_paths": [
|
|
43
|
+
"DATA_ROOT/SUBJECT_ID/SESSION_DATE/ZSeries-SESSION_DATE-1300-004"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"params_mcorr": {
|
|
47
|
+
"__comment": "Motion correction parameters. Only 'caiman' is supported as method. Delete 'z_motion_correction' block entirely to skip z-motion correction.",
|
|
48
|
+
"method": "caiman",
|
|
49
|
+
"main": {
|
|
50
|
+
"strides": [
|
|
51
|
+
36,
|
|
52
|
+
36
|
|
53
|
+
],
|
|
54
|
+
"overlaps": [
|
|
55
|
+
24,
|
|
56
|
+
24
|
|
57
|
+
],
|
|
58
|
+
"max_shifts": [
|
|
59
|
+
12,
|
|
60
|
+
12
|
|
61
|
+
],
|
|
62
|
+
"max_deviation_rigid": 6,
|
|
63
|
+
"border_nan": "copy",
|
|
64
|
+
"pw_rigid": true,
|
|
65
|
+
"gSig_filt": null
|
|
66
|
+
},
|
|
67
|
+
"__comment_save_mcorr_movie": "Accepted: 'tiff' or 'memmap'. 'h5' and 'bin' exist but may not work in all workflows.",
|
|
68
|
+
"save_mcorr_movie": "tiff",
|
|
69
|
+
"z_motion_correction": {
|
|
70
|
+
"zstack_shift": {
|
|
71
|
+
"Ch": 2,
|
|
72
|
+
"alpha": 22,
|
|
73
|
+
"beta": 8,
|
|
74
|
+
"step": 1,
|
|
75
|
+
"Nz": 41
|
|
76
|
+
},
|
|
77
|
+
"__comment": "Set 'non_rigid' to true to compute f-anat non-rigid. If false, will only compute a rigid z-position.",
|
|
78
|
+
"non_rigid": false
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"params_extraction": {
|
|
82
|
+
"__comment": "ROI extraction method choices after motion correction.",
|
|
83
|
+
"__method_options": [
|
|
84
|
+
"suite2p",
|
|
85
|
+
"cnmf",
|
|
86
|
+
"aind",
|
|
87
|
+
"none"
|
|
88
|
+
],
|
|
89
|
+
"method": "cnmf",
|
|
90
|
+
"main": {
|
|
91
|
+
"p": 0,
|
|
92
|
+
"nb": 1,
|
|
93
|
+
"merge_thr": 0.8,
|
|
94
|
+
"rf": 20,
|
|
95
|
+
"stride": 10,
|
|
96
|
+
"K": 8,
|
|
97
|
+
"gSig": [
|
|
98
|
+
5,
|
|
99
|
+
5
|
|
100
|
+
],
|
|
101
|
+
"ssub": 1,
|
|
102
|
+
"tsub": 1,
|
|
103
|
+
"method_init": "greedy_roi",
|
|
104
|
+
"min_SNR": 3.0,
|
|
105
|
+
"SNR_lowest": 2.5,
|
|
106
|
+
"rval_thr": 0.85,
|
|
107
|
+
"rval_lowest": 0.2,
|
|
108
|
+
"use_cnn": true,
|
|
109
|
+
"min_cnn_thr": 0.95,
|
|
110
|
+
"cnn_lowest": 0.2,
|
|
111
|
+
"decay_time": 0.15
|
|
112
|
+
},
|
|
113
|
+
"refit": true
|
|
114
|
+
},
|
|
115
|
+
"params_extra": {
|
|
116
|
+
"cleanup": true
|
|
117
|
+
},
|
|
118
|
+
"logging": {
|
|
119
|
+
"__comment": "Where pipeline log files are stored (defaults to export parent).",
|
|
120
|
+
"log_path": "EXPORT_ROOT/SUBJECT_ID",
|
|
121
|
+
"log_level": "INFO"
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"experimenter":"FirstName LastName",
|
|
3
|
+
"subject":{
|
|
4
|
+
"name":"SUBJECT_ID",
|
|
5
|
+
"sex":"M/F/U",
|
|
6
|
+
"DOB":"DD-MM-YYYY",
|
|
7
|
+
"genotype":"Strain or Genotype",
|
|
8
|
+
"virus":"Virus.Name",
|
|
9
|
+
"reporter":"Reporter_Name",
|
|
10
|
+
"injection_date":"DD-MM-YYYY",
|
|
11
|
+
"area":"Brain_Area"
|
|
12
|
+
},
|
|
13
|
+
"imaging": {
|
|
14
|
+
"date":"SESSION_DATE",
|
|
15
|
+
"objective": 16,
|
|
16
|
+
"numerical_zoom": 1,
|
|
17
|
+
"wavelength": 920,
|
|
18
|
+
"power": 530,
|
|
19
|
+
"depth": 160,
|
|
20
|
+
"fr": 20,
|
|
21
|
+
"Npixel_x": 765,
|
|
22
|
+
"Npixel_y": 765,
|
|
23
|
+
"microns_per_pixel": 1.4542483660130718
|
|
24
|
+
},
|
|
25
|
+
"paths": {
|
|
26
|
+
"concatenation_groups": [
|
|
27
|
+
1,
|
|
28
|
+
1,
|
|
29
|
+
1,
|
|
30
|
+
1
|
|
31
|
+
],
|
|
32
|
+
"data_paths": [
|
|
33
|
+
"DATA_ROOT/SUBJECT_ID/SESSION_DATE/TSeries-SESSION_DATE-1300-001",
|
|
34
|
+
"DATA_ROOT/SUBJECT_ID/SESSION_DATE/TSeries-SESSION_DATE-1300-002",
|
|
35
|
+
"DATA_ROOT/SUBJECT_ID/SESSION_DATE/TSeries-SESSION_DATE-1300-003",
|
|
36
|
+
"DATA_ROOT/SUBJECT_ID/SESSION_DATE/TSeries-SESSION_DATE-1529-004"
|
|
37
|
+
],
|
|
38
|
+
"export_paths": [
|
|
39
|
+
"EXPORT_ROOT/SUBJECT_ID/SESSION_DATE/run1run2run3run4/suite2p"
|
|
40
|
+
],
|
|
41
|
+
"__comment_zstack_paths": "Point to the raw z-stack directory. One per concatenation group (one per data folder works too). If not used, can be removed entirely or left empty.",
|
|
42
|
+
"zstack_paths": [
|
|
43
|
+
"DATA_ROOT/SUBJECT_ID/SESSION_DATE/ZSeries-SESSION_DATE-1300-004"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"params_mcorr": {
|
|
47
|
+
"__comment": "Motion correction parameters. Only 'caiman' is supported as method. Delete 'z_motion_correction' block entirely to skip z-motion correction.",
|
|
48
|
+
"method": "caiman",
|
|
49
|
+
"main": {
|
|
50
|
+
"strides": [
|
|
51
|
+
36,
|
|
52
|
+
36
|
|
53
|
+
],
|
|
54
|
+
"overlaps": [
|
|
55
|
+
24,
|
|
56
|
+
24
|
|
57
|
+
],
|
|
58
|
+
"max_shifts": [
|
|
59
|
+
12,
|
|
60
|
+
12
|
|
61
|
+
],
|
|
62
|
+
"max_deviation_rigid": 6,
|
|
63
|
+
"border_nan": "copy",
|
|
64
|
+
"pw_rigid": true,
|
|
65
|
+
"gSig_filt": null
|
|
66
|
+
},
|
|
67
|
+
"__comment_save_mcorr_movie": "Accepted: 'tiff' (recommended); 'h5' and 'bin' exist but may not work in all workflows.",
|
|
68
|
+
"save_mcorr_movie": "tiff",
|
|
69
|
+
"z_motion_correction": {
|
|
70
|
+
"zstack_shift": {
|
|
71
|
+
"Ch": 2,
|
|
72
|
+
"alpha": 22,
|
|
73
|
+
"beta": 8,
|
|
74
|
+
"step": 1,
|
|
75
|
+
"Nz": 41
|
|
76
|
+
},
|
|
77
|
+
"__comment": "Set 'non_rigid' to true to compute f-anat non-rigid. If false, will only compute a rigid z-position.",
|
|
78
|
+
"non_rigid": false
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
"params_extraction": {
|
|
82
|
+
"__comment": "ROI extraction method choices after motion correction.",
|
|
83
|
+
"__method_options": [
|
|
84
|
+
"suite2p",
|
|
85
|
+
"cnmf",
|
|
86
|
+
"aind",
|
|
87
|
+
"none"
|
|
88
|
+
],
|
|
89
|
+
"method": "suite2p",
|
|
90
|
+
"main": {
|
|
91
|
+
"decay_time": 0.3
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"params_extra": {
|
|
95
|
+
"cleanup": true
|
|
96
|
+
},
|
|
97
|
+
"logging": {
|
|
98
|
+
"__comment": "Where pipeline log files are stored (defaults to export parent).",
|
|
99
|
+
"log_path": "EXPORT_ROOT/SUBJECT_ID",
|
|
100
|
+
"log_level": "INFO"
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
{
|
|
2
|
+
"experimenter": "Manuel Levy",
|
|
3
|
+
"subject": {
|
|
4
|
+
"name": "C57_O1M2",
|
|
5
|
+
"genotype": "C57/Bl6",
|
|
6
|
+
"sex": "F",
|
|
7
|
+
"DOB": "14-Feb-2023",
|
|
8
|
+
"virus": "PHP.eB.syn.RiboL1.GCaMP8m",
|
|
9
|
+
"reporter": "GCaMP8m",
|
|
10
|
+
"injection_date": "01-Aug-2023",
|
|
11
|
+
"area": "BC_R"
|
|
12
|
+
},
|
|
13
|
+
"imaging": {
|
|
14
|
+
"date": "10022023",
|
|
15
|
+
"experiment_type": "GC8m_16x_zoom1_765pi",
|
|
16
|
+
"run": [
|
|
17
|
+
"run1"
|
|
18
|
+
],
|
|
19
|
+
"objective": 16,
|
|
20
|
+
"numerical_zoom": 1,
|
|
21
|
+
"wavelength": 920,
|
|
22
|
+
"power": 530,
|
|
23
|
+
"depth": 160,
|
|
24
|
+
"fr": 20,
|
|
25
|
+
"Npixel_x": 765,
|
|
26
|
+
"Npixel_y": 765,
|
|
27
|
+
"microns_per_pixel": 1.4542483660130718
|
|
28
|
+
},
|
|
29
|
+
"paths": {
|
|
30
|
+
"concatenation_groups": [
|
|
31
|
+
1
|
|
32
|
+
],
|
|
33
|
+
"data_paths": [
|
|
34
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/TSeries-10022023-1300-001"
|
|
35
|
+
],
|
|
36
|
+
"export_paths": [
|
|
37
|
+
"/home/wanglab/data/2P/Analysis_2P/C57_O1M2/10022023/run1/test_streamline"
|
|
38
|
+
],
|
|
39
|
+
"zstack_paths": [
|
|
40
|
+
"/home/wanglab/data/2P/C57_O1M2/10022023/ZSeries-10022023-1300-004"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"params_mcorr": {
|
|
44
|
+
"method": "caiman",
|
|
45
|
+
"main": {
|
|
46
|
+
"strides": [
|
|
47
|
+
36,
|
|
48
|
+
36
|
|
49
|
+
],
|
|
50
|
+
"overlaps": [
|
|
51
|
+
24,
|
|
52
|
+
24
|
|
53
|
+
],
|
|
54
|
+
"max_shifts": [
|
|
55
|
+
12,
|
|
56
|
+
12
|
|
57
|
+
],
|
|
58
|
+
"max_deviation_rigid": 6,
|
|
59
|
+
"border_nan": "copy",
|
|
60
|
+
"pw_rigid": true,
|
|
61
|
+
"gSig_filt": null
|
|
62
|
+
},
|
|
63
|
+
"save_mcorr_movie": "tiff",
|
|
64
|
+
"z_motion_correction": {
|
|
65
|
+
"zstack_shift": {
|
|
66
|
+
"file_name": "zstack_shifted.tif",
|
|
67
|
+
"Ch": 2,
|
|
68
|
+
"alpha": 22,
|
|
69
|
+
"beta": 8,
|
|
70
|
+
"step": 1,
|
|
71
|
+
"micron_per_pixel": 1.46,
|
|
72
|
+
"Nx": 765,
|
|
73
|
+
"Ny": 765,
|
|
74
|
+
"Nz": 41
|
|
75
|
+
},
|
|
76
|
+
"subtract_z_motion": true
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"params_extraction": {
|
|
80
|
+
"method": "suite2p",
|
|
81
|
+
"main": {
|
|
82
|
+
"fr": 20,
|
|
83
|
+
"p": 0,
|
|
84
|
+
"nb": 1,
|
|
85
|
+
"merge_thr": 0.8,
|
|
86
|
+
"rf": 20,
|
|
87
|
+
"stride": 10,
|
|
88
|
+
"K": 8,
|
|
89
|
+
"gSig": [
|
|
90
|
+
5,
|
|
91
|
+
5
|
|
92
|
+
],
|
|
93
|
+
"ssub": 1,
|
|
94
|
+
"tsub": 1,
|
|
95
|
+
"method_init": "greedy_roi",
|
|
96
|
+
"min_SNR": 3.0,
|
|
97
|
+
"SNR_lowest": 2.5,
|
|
98
|
+
"rval_thr": 0.85,
|
|
99
|
+
"rval_lowest": 0.2,
|
|
100
|
+
"use_cnn": true,
|
|
101
|
+
"min_cnn_thr": 0.95,
|
|
102
|
+
"cnn_lowest": 0.2,
|
|
103
|
+
"decay_time": 0.15
|
|
104
|
+
},
|
|
105
|
+
"refit": true
|
|
106
|
+
},
|
|
107
|
+
"params_extra": {
|
|
108
|
+
"cleanup": false
|
|
109
|
+
},
|
|
110
|
+
"logging": {
|
|
111
|
+
"log_path": "/home/wanglab/data/2P/Analysis_2P/C57_O1M2",
|
|
112
|
+
"log_level": "INFO"
|
|
113
|
+
}
|
|
114
|
+
}
|