-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplot_result_MMD.py
More file actions
executable file
·43 lines (36 loc) · 975 Bytes
/
plot_result_MMD.py
File metadata and controls
executable file
·43 lines (36 loc) · 975 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
#!/usr/bin/env python
import sys
sys.path.append('./make_plot/')
from plot_MMD import generate_filtered_input_array_list, plot_MMD
def main():
input_catalog_list = [
'./tables/star_SED_mag.txt',
'./results/C2D_HREL-ALL-SED_mag_exXU/result_model_evolved_star_star_galaxy_bin1.0/YSO-SED_mag.txt',
]
input_color_list = [
'k',
'b',
]
input_size_list = [
0.5,
5,
]
input_alpha_list = [
0.3,
1.0,
]
input_label_list = [
'star sample (black)',
'YSO candidate (blue)',
]
input_array_list = generate_filtered_input_array_list(input_catalog_list)
output_name = './figures/MMD_result.png'
plot_MMD(input_array_list,
input_label_list,
input_color_list,
input_size_list,
input_alpha_list,
show_legend=False,
output_name=output_name)
if __name__ == '__main__':
main()