forked from sterlesser/cancersim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnewconfig.py
More file actions
61 lines (53 loc) · 922 Bytes
/
newconfig.py
File metadata and controls
61 lines (53 loc) · 922 Bytes
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
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
factor = 1e-2
config = {
#General params
'XSIZE': 30,
'YSIZE': 30,
'basal_height': 15,
'seed': None,
'force_magnitude': 1.0,
'force_magnitude_basal': 1.0,
'force_cutoff': 0.5,
'jiggle_sigma': 0.1,
#First Cancer Cell
'first_cancer_cell_yoffset': 1.,
'first_cancer_cell_radius': 1.,
#CELL PARAMETERS
'cancer_cell_params': {
'name':'Cancer',
'type_ind':0,
'k': 10.*factor,
'L': 1.,
'color': 'y'
},
'epidermal_cell_params': {
'name': 'Epidermal',
'type_ind': 1,
'k': 2*factor,
'L': 1.0,
'color': 'b'
},
'basal_cell_params': {
'name': 'Basal',
'type_ind': 2,
'k': 6*factor,
'L': 0.2,
'color': 'k'
},
'dermal_cell_params': {
'name': 'Dermal',
'type_ind': 3,
'k': 0.01*factor,
'L': 2.0,
'color': 'r'
},
#Parameters for FIRE
'fmax': 0.001,
'Nmin': 5.,
'finc': 1.1,
'fdec': 0.5,
'alphastart': 0.1,
'fa': 0.99,
'deltatmax': 10.,
'maxsteps': 10**3,
}