-
Notifications
You must be signed in to change notification settings - Fork 0
/
find_somata_2019_09_06_v1.m
30 lines (25 loc) · 1.14 KB
/
find_somata_2019_09_06_v1.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
sample_date = '2019-09-06' ;
tag = 'v1' ;
output_folder_path = sprintf('/groups/mousebrainmicro/mousebrainmicro/cluster/Reconstructions/%s/soma-predictions-%s', sample_date, tag) ;
rendered_folder_path = sprintf('/nrs/mouselight/SAMPLES/%s', sample_date) ;
do_force_computation = false ;
do_use_bsub = true ;
do_actually_submit = true ;
stdout_file_path_template = fullfile(output_folder_path, 'find-somata-%d-%d-%d.out.txt') ;
bsub_options_template = ['-P mouselight -n8 -eo ' stdout_file_path_template ' -oo ' stdout_file_path_template ' -W 59 -J find-somata'] ;
%bsub_options = '-P mouselight -n8 -eo /dev/null -oo /dev/null -W 59 -J find-somata' ;
foreground_channel_index = 1 ;
background_channel_index = 0 ;
zoom_level = 4 ; % The zoom level of the tiles we will analyze
pad_depth_in_um = 50 ; % um
% intensity_threshold = 40000 ;
% minimum_volume = 500 ; % um^3
% maximum_volume = 15000 ; % um^3
% maximum_sqrt_condition_number = 10 ;
intensity_threshold = 0.75 * 2^16 ;
minimum_volume = 500 ; % um^3
%maximum_volume = 15000 ; % um^3
maximum_volume = 25000 ; % um^3
%maximum_sqrt_condition_number = 10 ;
maximum_sqrt_condition_number = 20 ;
find_somata