-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfull_history_still_script.py
38 lines (28 loc) · 1.53 KB
/
full_history_still_script.py
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
import sys
import matplotlib.pyplot as plt
sys.path.append(r'../python_imaging')
from image_processing_for_physicell import *
options_for_figure2d = {} # should be the same as 2b and 2c
options_for_figure2d = {"output_plot" : True,
"show_plot" : False,
"produce_for_panel" : True,
"plot_ECM_anisotropy" : False,
"plot_ECM_orientation" : True,
"retrieve_ECM_data": True,
"load_full_physicell_data" : True,
"plot_cells_from_SVG" : True,
"load_SVG_data": True,
'plot_cells_from_physicell_data': False,
"quiver_options" : {"scale_quiver": False,
"mask_quiver": False}
}
#### Right now, if you don't have None or the full contour and quiver options, it will break in the plotting ...
mf = PhysiCellPlotter()
mf.generic_plotter(starting_index=0, number_of_samples=1, options=options_for_figure2d, file_name='circular_ECM_w_chemical_cue_0')
image_list_for_figure2c = []
image_list_for_figure2d = [150, 417]
options_for_figure2d['plot_ECM_orientation'] = False
options_for_figure2d['retrieve_ECM_data'] = False
options_for_figure2d['load_full_physicell_data'] = False
for number in image_list_for_figure2d:
mf.generic_plotter(starting_index=0, number_of_samples=number, options=options_for_figure2d, file_name='circular_ECM_w_chemical_cue_' + str(number))