-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpipe_data.py
73 lines (68 loc) · 33.7 KB
/
pipe_data.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import numpy as np
from CoreList import CoreList
class PipeData:
cores_1 = [6, 7, 8, 11, 12, 13, 14, 15, 17, 20, 22, 23, 25, 27, 30, 31, 33, 34, 36, 37, 40, 41, 42, 47, 48, 51, 56, 61, 62, 65, 66, 70, 74, 87, 89, 91, 92, 93, 97, 99, 101, 102, 108, 109, 113, 132, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217]
cores_2 = [6, 7, 8, 12, 14, 15, 17, 20, 22, 23, 25, 40, 41, 42, 47, 65, 70, 87, 89, 91, 92, 93, 97, 101, 102, 108, 109, 113, 132]
cores_3 = [12, 14, 17, 20, 40, 41, 42, 47, 87, 101, 108, 109]
cores_4 = [12, 14, 40, 47, 87, 101, 109]
mass = [3.1, 4.7, 3.3, 3.4, 20.4, 0.5, 9.7, 2.6, 0.7, 2.3, 1.0, 1.9, 1.1, 3.1, 0.4, 1.9, 4.3, 2.7, 1.7, 2.0, 9.2, 1.1, 2.8, 1.4, 4.2, 1.2, 5.2, 2.6, 2.3, 0.7, 1.0, 1.1, 3.0, 10.3, 1.4, 1.1, 1.6, 3.5, 5.9, 2.2, 1.9, 6.7, 0.8, 3.6, 2.4, 4.7, 0.011833509533002402, 0.18637777514478784, 0.97626453647269806, 0.69521868506389106, 0.43488147533783827, 0.53546630636835868, 0.15679400131228183, 0.42600634318808639, 0.48517389085309837, 0.22187830374379502, 0.26921234187580467, 0.16271075607878302, 0.20708641682754203, 0.10354320841377102, 0.32837988954081676, 0.35204690860682142, 1.1774341985337389]
density = [3.9, 3.8, 3.9, 3.8, 3.8, 3.9, 3.9, 3.8, 3.9, 3.8, 3.9, 3.8, 3.8, 3.7, 3.8, 3.7, 3.8, 3.8, 3.8, 4.1, 3.8, 4.0, 4.1, 3.8, 3.7, 3.8, 3.8, 3.8, 3.7, 4.1, 4.0, 4.0, 3.7, 3.9, 4.0, 4.1, 4.0, 3.9, 3.6, 4.0, 4.1, 3.6, 3.8, 3.9, 4.0, 3.7, 5.1246793183629888, 4.9657833240373215, 4.2294516399227398, 4.2774635581740545, 4.478849453501633, 4.3980265474489366, 4.6339674312142627, 4.6905923943542147, 4.7209105529705706, 5.1304726169094845, 5.1169125343713908, 4.6642547562154748, 5.1569608274816945, 4.8087197447256909, 4.9270695882599336, 4.5208857758455459, 4.588948938570959]
Tk = [None, None, None, None, 11.3, None, 12.0, None, 17.5, 15.2, None, None, None, None, None, None, None, None, None, None, 10.3, 14.3, 12.4, 12.6, None, None, None, None, None, None, None, None, None, 9.8, None, None, None, None, None, None, 10.4, None, 14.1, 9.5, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
Tk_error = [0.1, 0.4, 1.3, 0.5, 0.5, 0.7, 0.4, 1.0, 0.3, 0.2, 0.8, 0.1]
tau = [None, None, None, None, 10.2, None, 1.0, None, None, None, None, None, None, None, None, None, None, None, None, None, 2.4, None, None, 2.5, None, None, None, None, None, None, None, None, None, 6.3, None, None, None, None, None, None, 5.1, None, None, 19.8, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
#tau = [10.2, 1.0, 2.4, 2.5, 6.3, 5.1, 19.8]
tau_error = [0.2, 0.3, 0.4, 0.8, 0.3, 0.2, 0.3]
Tex = [7.4, 4.4, 5.3, 3.2, 5.4, 4.5, 6.6]
Tex = [None, None, None, None, 7.4, None, 4.4, None, None, None, None, None, None, None, None, None, None, None, None, None, 5.3, None, None, 3.2, None, None, None, None, None, None, None, None, None, 5.4, None, None, None, None, None, None, 4.5, None, None, 6.6, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
Tex_error = [0.0, 0.4, 0.3, 0.1, 0.1, 0.1, 0.0]
Sv = [0.09, 0.08, 0.11, None, 0.15, None, 0.14, 0.18, 0.25, 0.17, 0.12, 0.07, 0.2, None, None, None, None, None, None, None, 0.1, 0.12, 0.11, 0.14, None, None, None, None, None, 0.26, None, 0.23, None, 0.14, 0.1, 0.07, 0.19, 0.17, 0.21, None, 0.09, 0.24, 0.16, 0.08, 0.06, 0.18, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
intensity = [0.08, 0.02, 0.05, None, 1.72, None, 0.14, 0.07, 0.12, 0.22, 0.03, 0.02, 0.06, None, None, None, None, None, None, None, 0.23, 0.11, 0.11, 0.07, None, None, None, None, None, 0.13, None, 0.08, None, 0.75, 0.02, 0.03, 0.08, 0.18, 0.19, None, 0.22, 0.08, 0.12, 0.73, 0.02, 0.08, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
n_nh3 = [13.7, 13.2, 13.3, None, 15.2, None, 14.0, 13.4, 13.3, 13.6, 13.2, 13.0, 13.3, None, None, None, None, None, None, None, 14.3, 13.4, 13.5, 14.2, None, None, None, None, None, 13.6, None, 13.3, None, 14.8, 13.1, 13.2, 13.4, 13.8, 13.8, None, 14.5, 13.4, 13.4, 15.2, 13.2, 13.4, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
data = [Tk, tau, Tex, Sv, intensity, n_nh3, mass, density]
names = ["Tk", "tau", "Tex", "Sv", "intensity", "n_nh3", "mass", "density"]
dic = dict(zip(names, data))
core_list = CoreList()
core_list.add_from_array(tau, Sv, n_nh3, Tex, Tk, intensity, mass, density, "pipe", [None for i in n_nh3])
class PerseusNew:
tau = [None, 6.6, 6.1, 3.8, 1.8, 7.4, 10.9, 5.5, 3.3, 1.2, 5.19, 1.5, 3.6, 3.7, None, 14.7, 12.7, 1.4, None, None, 6.3, 2.2, None, 1.0, None, 2.0, 4.8, 1.9, 3.749, 1.739, 4.4, 7.8, 6.08, 3.7, 9.7, 5.0, 6.6, 6.9, 5.4, 3.8, 6.0, 3.6, 7.0, 8.15, 8.8, None, 7.8, 4.9, 7.1, None, None, 3.0, 2.5, None, 2.5, 4.2, 2.0, None, None, None, 2.2, 4.5, 2.8, 3.6, 2.3, 2.7, 3.2, None, 3.3, 4.09, 2.2, None, 3.5, 2.1, None, 2.26, 6.33, 4.2, 4.241, 3.71, 1.339, 6.114, 4.0, None, 3.6, 6.6, 6.444, 12.578, 5.5, None, 7.5, 3.3, 13.8, 3.1, 4.2, None, 5.97, 2.0, None, 5.6, 7.7, 7.7, None, 11.1, 1.4, None, 6.2, 1.2, 7.6, 9.9, 4.6, 1.9, None, 15.9, 8.1, 5.36, None, 7.21, 10.4, 1.5, 1.9, 2.3, 5.2, None, 1.6, None, 2.0, 3.0, None, 8.6, 1.4, 9.6, 4.0, 1.0, None, 2.0, 3.0, None, 1.7, 2.15, 2.95, None, 3.5, 3.5, 4.3, 1.7, 3.8, 1.5, 5.5, None, None, 1.0, 4.6, 3.1, 1.6, 3.9, None, 2.5, None, 4.3, 1.3, None, 5.0, 2.6, 5.1, 3.0, 5.2, 6.0, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
Sv = [0.2, 0.115, 0.155, 0.135, 0.134, 0.168, 0.155, 0.124, 0.29, 0.143, 0.373, 0.24, 0.392, 0.194, 0.141, 0.1456, 0.153, 0.256, 0.28, 0.21, 0.146, 0.149, 0.2, 0.32, 0.22, 0.11, 0.125, 0.18, 0.17, 0.13, 0.275, 0.186, 0.169, 0.211, 0.083, 0.115, 0.126, 0.151, 0.148, 0.136, 0.11, 0.216, 0.152, 0.1886, 0.192, 0.21, 0.158, 0.194, 0.124, 0.39, 0.16, 0.22, 0.192, 0.35, 0.372, 0.172, 0.18, 0.7, 0.26, 0.7, 0.307, 0.208, 0.269, 0.296, 0.578, 0.247, 0.357, 0.72, 0.208, 0.462, 0.595, 0.7, 0.222, 0.56, 0.42, 0.28, 0.12, 0.129, 0.15, 0.1, 0.2, 0.1, 0.146, 0.55, 0.136, 0.126, 0.13, 0.09, 0.125, 0.34, 0.142, 0.098, 0.1452, 0.152, 0.102, 0.34, 0.182, 0.22, 0.32, 0.243, 0.153, 0.107, 0.53, 0.1283, 0.23, 0.3, 0.139, 0.257, 0.153, 0.1894, 0.164, 0.57, 0.32, 0.1304, 0.26, 0.331, 0.33, 0.334, 0.121, 0.4, 0.254, 0.26, 0.079, 0.32, 0.17, 0.43, 0.16, 0.113, 0.21, 0.094, 0.18, 0.098, 0.15, 0.47, 0.28, 0.14, 0.2, 0.39, 0.35, 0.16, 0.14, 0.134, 0.18, 0.195, 0.224, 0.22, 0.179, 0.27, 0.184, 0.38, 0.54, 0.22, 0.154, 0.137, 0.16, 0.153, 0.37, 0.166, 0.34, 0.121, 0.138, 0.19, 0.109, 0.107, 0.182, 0.119, 0.127, 0.164, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
n_nh3 = [12.778151250383644, 14.662757831681574, 14.724275869600788, 14.414973347970818, 14.079181246047625, 14.732393759822969, 14.924279286061882, 14.5910646070265, 14.44715803134222, 13.698970004336019, 14.959041392321094, 13.845098040014257, 14.740362689494244, 14.491361693834273, 13.103803720955957, 14.518513939877888, 14.278753600952829, 14.113943352306837, 13.113943352306837, 13.176091259055681, 14.505149978319906, 14.113943352306837, None, 13.845098040014257, 13.0, 13.477121254719663, 14.431363764158988, 13.954242509439325, 14.361727836017593, 14.0, 14.68304703823885, 14.897627091290442, 14.732393759822969, 14.505149978319906, 14.681241237375588, 14.431363764158988, 14.643452676486188, 14.612783856719735, 14.5910646070265, 14.255272505103306, 14.397940008672037, 14.431363764158988, 14.7481880270062, 14.864511081058392, 14.959041392321094, 13.255272505103306, 14.778151250383644, 14.690196080028514, 14.602059991327963, 12.954242509439325, None, 14.041392685158225, 14.301029995663981, 13.518513939877888, 14.531478917042255, 14.44715803134222, 13.845098040014257, 12.845098040014257, None, 12.954242509439325, 14.431363764158988, 14.568201724066995, 14.518513939877888, 14.612783856719735, 14.7160033436348, 14.397940008672037, 14.662757831681574, 13.079181246047625, 14.462397997898956, 14.949390006644913, 14.633468455579587, 13.176091259055681, 14.531478917042255, 14.602059991327963, 13.531478917042255, 14.361727836017593, 14.544068044350276, 14.32221929473392, 14.301029995663981, 14.0, 14.041392685158225, 14.491361693834273, 14.176091259055681, 12.903089986991944, 14.342422680822207, 14.643452676486188, 14.602059991327963, 14.698970004336019, 14.5910646070265, 12.845098040014257, 14.690196080028514, 14.146128035678238, 13.778151250383644, 14.278753600952829, 14.301029995663981, 13.230448921378274, 14.698970004336019, 13.778151250383644, 12.903089986991944, 14.792391689498254, 14.7160033436348, 14.556302500767288, 13.431363764158988, 14.857332496431269, 14.041392685158225, 13.041392685158225, 14.633468455579587, 14.041392685158225, 14.785329835010767, 13.778151250383644, 14.518513939877888, 14.230448921378274, 13.113943352306837, 14.204119982655925, None, 14.910090545594068, 12.903089986991944, 14.113943352306837, 14.785329835010767, 14.204119982655925, 14.278753600952829, 14.342422680822207, 14.113943352306837, 13.146128035678238, 13.698970004336019, 12.806179973983888, 13.778151250383644, 14.0, 12.755874855672491, 14.633468455579587, 13.698970004336019, 14.7160033436348, 14.0, 13.845098040014257, 12.954242509439325, 13.778151250383644, 13.954242509439325, 13.146128035678238, 14.278753600952829, 14.079181246047625, 14.176091259055681, 13.361727836017593, 14.44715803134222, 14.556302500767288, 14.602059991327963, 14.113943352306837, 14.301029995663981, 14.230448921378274, 14.612783856719735, 12.845098040014257, 13.041392685158225, 13.845098040014257, 14.505149978319906, 14.32221929473392, 13.903089986991944, 14.518513939877888, 13.414973347970818, 14.230448921378274, 13.431363764158988, 14.32221929473392, 13.903089986991944, 12.698970004336019, 14.361727836017593, 14.176091259055681, 14.643452676486188, 14.146128035678238, 14.414973347970818, 14.612783856719735, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
Tex = [None, 6.47, 6.14, 6.5, 6.4, 7.45, 7.61, 6.04, 4.3, 5.0, 8.55, 3.5, 7.83, 6.6, None, 6.71, 6.44, 4.7, None, None, 5.63, 5.1, None, 3.7, None, 5.0, 6.4, 4.6, None, None, 7.46, 7.65, 8.32, 6.7, 6.33, 6.2, 5.99, 5.62, 6.83, 4.9, 5.21, 6.13, 7.35, 7.82, 9.01, None, 6.69, 7.63, 7.18, None, None, 3.2, 8.4, None, 8.4, 8.1, 3.3, None, None, None, 8.6, 6.98, 0.0, 8.7, 9.0, 7.3, 8.5, None, 7.7, 8.31, 7.1, None, 9.1, 5.8, None, None, None, 6.5, None, None, None, None, 4.8, None, 5.6, 7.28, None, None, 7.9, None, 6.85, 6.1, 6.75, 5.4, 5.5, None, 7.26, 3.4, None, 7.53, 6.07, 5.09, None, 6.63, 5.0, None, 6.41, 5.2, 6.68, 7.04, 5.8, 3.2, None, 6.29, 7.66, 8.17, None, 7.72, 5.88, 4.3, 6.4, 5.2, 4.2, None, 3.8, None, 5.0, 5.1, None, 6.1, 3.7, 6.54, 4.1, 3.1, None, 5.0, 3.3, None, 6.0, None, None, None, 7.2, 8.6, 7.6, 7.0, 5.3, 7.6, 6.21, None, None, 5.0, 6.5, 6.9, 5.7, 7.8, None, 5.7, None, 5.8, 6.2, None, 6.0, 6.6, 6.1, 5.1, 4.8, 6.8, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
Tk = [26.0, 9.2, 9.2, 10.0, 10.3, 12.06, 11.21, 9.1, 11.1, 13.0, 12.61, 15.0, 14.05, 11.2, 13.0, 9.13, 9.0, 10.0, 14.0, 13.6, 11.7, 10.4, None, 18.0, 20.0, 18.0, 10.7, 13.0, 11.7, 10.4, 13.05, 10.5, 11.37, 11.9, 9.1, 10.3, 9.4, 10.8, 10.6, 10.7, 10.5, 12.4, 10.54, 11.69, 11.7, 13.0, 10.5, 10.8, 11.3, 17.0, None, 19.0, 13.8, 16.4, 16.5, 14.5, 19.0, 29.0, None, 26.0, 14.4, 12.5, 16.4, 16.3, 16.4, 13.6, 14.8, 23.0, 12.6, 12.32, 15.0, 35.0, 14.3, 13.5, 15.5, 11.6, 10.1, 11.8, 11.9, 13.4, 11.2, 9.9, 13.3, 22.0, 9.8, 10.4, 10.3, 10.5, 10.5, 27.0, 11.0, 10.5, 10.01, 10.5, 9.8, 20.0, 11.44, 23.0, 26.0, 11.7, 10.48, 9.6, 13.0, 10.16, 11.2, 18.0, 10.1, 11.2, 10.0, 9.86, 10.3, 16.0, 17.0, 9.39, 11.52, 12.43, 22.0, 11.71, 9.7, 12.0, 11.9, 10.9, 10.7, 20.0, 15.0, 24.0, 16.0, 12.4, 20.0, 9.5, 17.0, 9.6, 18.0, 20.0, 17.0, 14.0, 23.0, 17.0, 13.5, 12.9, 12.3, 14.8, 11.7, 11.7, 12.9, 14.2, 12.9, 13.0, 11.1, 26.0, 21.0, 11.0, 10.9, 10.6, 12.9, 10.5, 14.7, 10.8, 16.0, 10.8, 10.9, 22.0, 10.7, 10.0, 10.1, 10.1, 10.0, 11.7, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
intensity = [5.25, 5.87, 4.08, 2.21, 10.09, 12.36, 4.43, 2.93, 0.94, 19.97, 0.61, 13.29, 5.62, 0.71, 11.49, 10.32, 1.63, 0.8, 0.89, 4.89, 0.3, 0.7, 0.95, 0.75, 0.74, 4.51, 1.54, 6.04, 10.56, 10.56, 11.96, 10.78, 6.36, 4.96, 4.01, 5.0, 0.09, 6.36, 2.24, 3.01, 5.26, 0.0, 12.6, 16.2, 0.94, 8.26, 8.78, 7.22, 0.63, 0.2, 0.77, 6.12, 2.16, 11.13, 8.0, 0.51, 0.66, 0.53, 0.56, 8.47, 7.87, 11.46, 12.93, 16.77, 6.41, 13.1, 0.75, 7.35, 18.4, 0.21, 0.9, 10.1, 7.4, 2.08, 6.02, 4.07, 4.07, 4.62, 5.56, 5.56, 2.44, 2.44, 0.55, 2.93, 6.81, 7.67, 6.8, 6.8, 0.36, 7.44, 0.22, -0.09, 2.7, 2.47, 1.15, 8.86, 0.12, 0.7, 11.28, 6.54, 3.66, 0.6, 8.72, 1.77, 0.76, 5.89, 1.74, 7.87, 11.78, 4.4, 1.07, 0.83, 9.78, 15.75, 0.55, 0.7, 18.75, 6.69, 2.05, 4.13, 3.58, 1.16, 0.99, 0.3, 0.3, 0.56, 2.17, 0.02, 4.8, 0.59, 5.9, 1.3, 0.3, 0.59, 0.95, 0.9, 1.0, 0.5, 3.89, 1.5, 1.5, 5.63, 8.3, 9.5, 3.6, 3.62, 4.42, 6.74, 0.77, 0.8, 1.2, 5.4, 4.1, 1.94, 0.0, 1.43, 0.45, -0.1, 0.2, 1.48, 0.36, 3.5, 0.2, 6.0, 1.88, 2.69, 6.8, -0.3, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None]
mass = [None, None, None, None, None, 3.6459999999999999, None, None, None, None, 17.271000000000001, None, 4.9299999999999997, None, None, None, None, None, None, None, None, 1.1639999999999999, None, None, None, None, None, None, None, None, 1.968, 1.421, 2.105, 0.53100000000000003, None, None, None, 2.0030000000000001, 1.7629999999999999, None, 0.35899999999999999, 3.6629999999999998, 3.1320000000000001, None, 3.5600000000000001, None, 2.2589999999999999, None, None, None, None, None, None, None, 12.393000000000001, 0.99299999999999999, None, None, None, None, 7.4459999999999997, 0.753, 15.08, None, 7.4969999999999999, 0.63300000000000001, 6.5049999999999999, 5.9050000000000002, 1.5409999999999999, 8.0960000000000001, 24.529, 5.5800000000000001, 10.818, 15.199999999999999, 2.722, None, None, 3.286, None, None, None, None, None, None, None, None, None, None, 1.4039999999999999, None, None, None, None, None, None, None, 3.355, None, None, 1.4890000000000001, None, 0.82199999999999995, None, 4.8099999999999996, 0.39400000000000002, None, None, 1.147, 1.3009999999999999, None, None, None, None, 2.1400000000000001, 14.618, 17.802, None, 17.510999999999999, 1.3520000000000001, None, 3.0299999999999998, None, None, None, None, None, None, 1.284, None, None, None, 0.58199999999999996, None, None, 0.32500000000000001, 0.46200000000000002, None, None, 4.6219999999999999, None, None, 2.8759999999999999, None, 6.077, 10.013999999999999, 6.8979999999999997, 0.90700000000000003, 3.4060000000000001, 3.2519999999999998, None, None, None, 2.653, 0.308, None, None, None, 1.147, 3.5089999999999999, 4.2110000000000003, None, None, 2.157, None, None, None, None, None, 1.6599999999999999, 1.5580000000000001, 7.2229999999999999, 1.5409999999999999, 3.4409999999999998, 6.5899999999999999, 5.4260000000000002, 1.5920000000000001, 0.51400000000000001, 2.1400000000000001, 0.753, 0.20499999999999999, 2.02, 2.2770000000000001, 0.42799999999999999, 0.77000000000000002, 1.6599999999999999, 0.73599999999999999, 2.4820000000000002, 0.90700000000000003, 1.2669999999999999, 0.83899999999999997, 1.113, 0.85599999999999998, 0.308, 2.0880000000000001, 0.94099999999999995, 7.4969999999999999, 1.181, 0.82199999999999995, 1.643, 0.188, 0.39400000000000002, 0.65000000000000002, 3.4580000000000002, 2.7730000000000001, 0.54100000000000004, 0.496, 6.1619999999999999, 0.050999999999999997, 2.2770000000000001, 0.496, 5.8200000000000003, 1.3520000000000001, 4.6050000000000004, 1.3859999999999999, 3.0979999999999999]
density = [None, None, None, None, None, 5.3268933632173407, None, None, None, None, 5.5310239231340761, None, 5.5265122670541267, None, None, None, None, None, None, None, None, 5.262749406265093, None, None, None, None, None, None, None, None, 5.4009318499142163, 4.8525130277461441, 5.229318487098741, 5.4975475257494324, None, None, None, 4.8236578954643052, 4.9147749610835021, None, 5.3275474532462823, 5.0583837265156646, 4.9371822603557307, None, 5.1893151512119973, None, 4.9917813841594851, None, None, None, None, None, None, None, 5.2542719011793677, 5.0197698335135446, None, None, None, None, 5.2373659430578874, 5.1701454522661283, 5.4041158265852038, None, 5.2904475025301849, 5.1990405048604185, 5.5131662507162797, 5.1867798936336058, 5.4319818662193384, 5.2254529509908734, 5.9683128218710992, 5.1621941906216513, 5.2164279920516261, 5.649525867837113, 4.9025704007596564, None, None, 4.8338500105941931, None, None, None, None, None, None, None, None, None, None, 5.1300958081380053, None, None, None, None, None, None, None, 5.1336050150243295, None, None, 4.8107598509912979, None, 4.8976005178842694, None, 4.7038683241399468, 4.9931330166686374, None, None, 4.9289264355772877, 4.814196246380261, None, None, None, None, 4.9682789265883125, 5.1866112053140689, 4.9405692967436288, None, 5.3428413980791367, 4.8960533905040009, None, 4.9228031354721296, None, None, None, None, None, None, 4.7770876725170144, None, None, None, 4.9617194106011118, None, None, 5.0228858384901374, 5.0090924695178938, None, None, 4.510219187249648, None, None, 5.1273115304950245, None, 5.0316757756363861, 5.2263220721143391, 5.3607001362021007, 5.2509577631255224, 5.2007672924107622, 5.2772272358204146, None, None, None, 5.1236561998010037, 5.0601633522765672, None, None, None, 4.8932287656781641, 5.0128656481077467, 4.8950311943806719, None, None, 4.9417626356218642, None, None, None, None, None, 5.2028367883842739, 5.1364012221876614, 5.1759000663554415, 4.7957151292377382, 4.7623991576723785, 4.7319721443967913, 4.8340102394748916, 4.8398082166407717, 5.0043135950607027, 4.7717742803190157, 4.9409804146757637, 5.1586776168988138, 4.9738740182308039, 5.1224397295135269, 5.1424462465244343, 5.0375672514534946, 4.8280205785593742, 4.8896983993556624, 4.8624840570550516, 4.9014410559112109, 4.8678533137818247, 4.9064906611729189, 4.9158581820107283, 4.9152024650213724, 5.0601633522765672, 4.7099909834037081, 5.1703860493784806, 4.8411605415301882, 4.9416129152895341, 4.9376924025582136, 4.7942705420869123, 5.2000684212737864, 5.1064986993368366, 4.9639898829238689, 4.8799142294468796, 5.1114725183620413, 5.0265477411719965, 5.2670943122663205, 5.1308109344898973, 5.50439913892, 4.7228059417906572, 4.9888321525556254, 4.9051718562670246, 4.9298964217330683, 5.363148584351543, 5.2928397565568011, 5.0410784383563465]
types = [None, None, None, None, None, 'protostellar', None, None, None, None, 'protostellar', None, 'protostellar', None, None, None, None, None, None, None, None, 'starless', None, None, None, None, None, None, None, None, 'protostellar', 'starless', 'protostellar', 'protostellar', None, None, None, 'protostellar', 'starless', None, 'protostellar', 'starless', 'protostellar', None, 'protostellar', None, 'starless', None, None, None, None, None, None, None, 'starless', 'starless', None, None, None, None, 'starless', 'protostellar', 'starless', None, 'protostellar', 'protostellar', 'starless', 'starless', 'starless', 'starless', 'starless', 'protostellar', 'protostellar', 'protostellar', 'starless', None, None, 'protostellar', None, None, None, None, None, None, None, None, None, None, 'protostellar', None, None, None, None, None, None, None, 'protostellar', None, None, 'starless', None, 'protostellar', None, 'starless', 'starless', None, None, 'starless', 'starless', None, None, None, None, 'protostellar', 'protostellar', 'protostellar', None, 'protostellar', 'starless', None, 'protostellar', None, None, None, None, None, None, 'starless', None, None, None, 'starless', None, None, 'starless', 'starless', None, None, 'starless', None, None, 'starless', None, 'protostellar', 'protostellar', 'protostellar', 'starless', 'protostellar', 'protostellar', None, None, None, 'protostellar', 'starless', None, None, None, 'starless', 'protostellar', 'starless', None, None, 'starless', None, None, None, None, None, 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'starless', 'protostellar', 'protostellar', 'protostellar', 'protostellar', 'protostellar', 'protostellar', 'protostellar', 'protostellar', 'protostellar', 'protostellar', 'protostellar']
core_list = CoreList()
core_list.add_from_array(tau, Sv, n_nh3, Tex, Tk, intensity, mass, density, "perseus", types)
class PerseusData:
cores = [2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31.1, 31.2, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 79, 80.1, 80.2, 81, 82.1, 82.2, 83.1, 83.2, 84, 85, 86, 87, 88.1, 88.2, 89, 90, 91, 93, 95, 96, 97, 98, 99, 101, 102, 103, 104, 105, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 121, 122, 123, 124, 125, 126, 127, 128, 129, 132, 139, 141, 142, 144, 145, 146, 147, 148, 150, 151, 152, 153, 154, 156, 157.1, 157.2, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 173, 174, 176, 178, 180, 181, 182, 183, 188, 189, 190, 191, 192]
Sv = [0.2, 0.115, 0.155, 0.135, 0.134, 0.168, 0.155, 0.124, 0.29, 0.143, 0.373, 0.24, 0.392, 0.194, 0.141, 0.1456, 0.153, 0.256, 0.28, 0.21, 0.146, 0.149, 0.2, 0.32, 0.22, 0.11, 0.125, 0.18, 0.17, 0.13, 0.275, 0.186, 0.169, 0.211, 0.083, 0.115, 0.126, 0.151, 0.148, 0.136, 0.11, 0.216, 0.152, 0.1886, 0.192, 0.21, 0.158, 0.194, 0.124, 0.39, 0.16, 0.22, 0.192, 0.35, 0.372, 0.172, 0.18, 0.7, 0.26, 0.7, 0.307, 0.208, 0.269, 0.296, 0.578, 0.247, 0.357, 0.72, 0.208, 0.462, 0.595, 0.7, 0.222, 0.56, 0.42, 0.28, 0.12, 0.129, 0.15, 0.1, 0.2, 0.1, 0.146, 0.55, 0.136, 0.126, 0.13, 0.09, 0.125, 0.34, 0.142, 0.098, 0.1452, 0.152, 0.102, 0.34, 0.182, 0.22, 0.32, 0.243, 0.153, 0.107, 0.53, 0.1283, 0.23, 0.3, 0.139, 0.257, 0.153, 0.1894, 0.164, 0.57, 0.32, 0.1304, 0.26, 0.331, 0.33, 0.334, 0.121, 0.4, 0.254, 0.26, 0.079, 0.32, 0.17, 0.43, 0.16, 0.113, 0.21, 0.094, 0.18, 0.098, 0.15, 0.47, 0.28, 0.14, 0.2, 0.39, 0.35, 0.16, 0.14, 0.134, 0.18, 0.195, 0.224, 0.22, 0.179, 0.27, 0.184, 0.38, 0.54, 0.22, 0.154, 0.137, 0.16, 0.153, 0.37, 0.166, 0.34, 0.121, 0.138, 0.19, 0.109, 0.107, 0.182, 0.119, 0.127, 0.164]
Tk = [26.0, 9.2, 9.2, 10.0, 10.3, 12.06, 11.21, 9.1, 11.1, 13.0, 12.61, 15.0, 14.05, 11.2, 13.0, 9.13, 9.0, 10.0, 14.0, 13.6, 11.7, 10.4, None, 18.0, 20.0, 18.0, 10.7, 13.0, 11.7, 10.4, 13.05, 10.5, 11.37, 11.9, 9.1, 10.3, 9.4, 10.8, 10.6, 10.7, 10.5, 12.4, 10.54, 11.69, 11.7, 13.0, 10.5, 10.8, 11.3, 17.0, None, 19.0, 13.8, 16.4, 16.5, 14.5, 19.0, 29.0, None, 26.0, 14.4, 12.5, 16.4, 16.3, 16.4, 13.6, 14.8, 23.0, 12.6, 12.32, 15.0, 35.0, 14.3, 13.5, 15.5, 11.6, 10.1, 11.8, 11.9, 13.4, 11.2, 9.9, 13.3, 22.0, 9.8, 10.4, 10.3, 10.5, 10.5, 27.0, 11.0, 10.5, 10.01, 10.5, 9.8, 20.0, 11.44, 23.0, 26.0, 11.7, 10.48, 9.6, 13.0, 10.16, 11.2, 18.0, 10.1, 11.2, 10.0, 9.86, 10.3, 16.0, 17.0, 9.39, 11.52, 12.43, 22.0, 11.71, 9.7, 12.0, 11.9, 10.9, 10.7, 20.0, 15.0, 24.0, 16.0, 12.4, 20.0, 9.5, 17.0, 9.6, 18.0, 20.0, 17.0, 14.0, 23.0, 17.0, 13.5, 12.9, 12.3, 14.8, 11.7, 11.7, 12.9, 14.2, 12.9, 13.0, 11.1, 26.0, 21.0, 11.0, 10.9, 10.6, 12.9, 10.5, 14.7, 10.8, 16.0, 10.8, 10.9, 22.0, 10.7, 10.0, 10.1, 10.1, 10.0, 11.7]
n_nh3 = [12.778151250383644, 14.662757831681574, 14.724275869600788, 14.414973347970818, 14.079181246047625, 14.732393759822969, 14.924279286061882, 14.5910646070265, 14.447158031342219, 13.698970004336019, 14.959041392321094, 13.845098040014257, 14.740362689494244, 14.491361693834273, 13.103803720955957, 14.518513939877888, 14.278753600952829, 14.113943352306837, 13.113943352306837, 13.176091259055681, 14.505149978319906, 14.113943352306837, None, 13.845098040014257, 13.0, 13.477121254719663, 14.431363764158988, 13.954242509439325, 14.361727836017593, 14.0, 14.68304703823885, 14.897627091290442, 14.732393759822969, 14.505149978319906, 14.681241237375588, 14.431363764158988, 14.643452676486188, 14.612783856719735, 14.5910646070265, 14.255272505103306, 14.397940008672037, 14.431363764158988, 14.748188027006201, 14.864511081058392, 14.959041392321094, 13.255272505103306, 14.778151250383644, 14.690196080028514, 14.602059991327963, 12.954242509439325, None, 14.041392685158225, 14.301029995663981, 13.518513939877888, 14.531478917042255, 14.447158031342219, 13.845098040014257, 12.845098040014257, None, 12.954242509439325, 14.431363764158988, 14.568201724066995, 14.518513939877888, 14.612783856719735, 14.716003343634799, 14.397940008672037, 14.662757831681574, 13.079181246047625, 14.462397997898956, 14.949390006644913, 14.633468455579587, 13.176091259055681, 14.531478917042255, 14.602059991327963, 13.531478917042255, 14.361727836017593, 14.544068044350276, 14.32221929473392, 14.301029995663981, 14.0, 14.041392685158225, 14.491361693834273, 14.176091259055681, 12.903089986991944, 14.342422680822207, 14.643452676486188, 14.602059991327963, 14.698970004336019, 14.5910646070265, 12.845098040014257, 14.690196080028514, 14.146128035678238, 13.778151250383644, 14.278753600952829, 14.301029995663981, 13.230448921378274, 14.698970004336019, 13.778151250383644, 12.903089986991944, 14.792391689498254, 14.716003343634799, 14.556302500767288, 13.431363764158988, 14.857332496431269, 14.041392685158225, 13.041392685158225, 14.633468455579587, 14.041392685158225, 14.785329835010767, 13.778151250383644, 14.518513939877888, 14.230448921378274, 13.113943352306837, 14.204119982655925, None, 14.910090545594068, 12.903089986991944, 14.113943352306837, 14.785329835010767, 14.204119982655925, 14.278753600952829, 14.342422680822207, 14.113943352306837, 13.146128035678238, 13.698970004336019, 12.806179973983888, 13.778151250383644, 14.0, 12.755874855672491, 14.633468455579587, 13.698970004336019, 14.716003343634799, 14.0, 13.845098040014257, 12.954242509439325, 13.778151250383644, 13.954242509439325, 13.146128035678238, 14.278753600952829, 14.079181246047625, 14.176091259055681, 13.361727836017593, 14.447158031342219, 14.556302500767288, 14.602059991327963, 14.113943352306837, 14.301029995663981, 14.230448921378274, 14.612783856719735, 12.845098040014257, 13.041392685158225, 13.845098040014257, 14.505149978319906, 14.32221929473392, 13.903089986991944, 14.518513939877888, 13.414973347970818, 14.230448921378274, 13.431363764158988, 14.32221929473392, 13.903089986991944, 12.698970004336019, 14.361727836017593, 14.176091259055681, 14.643452676486188, 14.146128035678238, 14.414973347970818, 14.612783856719735]
tau = [None, 6.6, 6.1, 3.8, 1.8, 7.4, 10.9, 5.5, 3.3, 1.2, 5.19, 1.5, 3.6, 3.7, None, 14.7, 12.7, 1.4, None, None, 6.3, 2.2, None, 1.0, None, 2.0, 4.8, 1.9, 3.749, 1.739, 4.4, 7.8, 6.08, 3.7, 9.7, 5.0, 6.6, 6.9, 5.4, 3.8, 6.0, 3.6, 7.0, 8.15, 8.8, None, 7.8, 4.9, 7.1, None, None, 3.0, 2.5, None, 2.5, 4.2, 2.0, None, None, None, 2.2, 4.5, 2.8, 3.6, 2.3, 2.7, 3.2, None, 3.3, 4.09, 2.2, None, 3.5, 2.1, None, 2.26, 6.33, 4.2, 4.241, 3.71, 1.339, 6.114, 4.0, None, 3.6, 6.6, 6.444, 12.578, 5.5, None, 7.5, 3.3, 13.8, 3.1, 4.2, None, 5.97, 2.0, None, 5.6, 7.7, 7.7, None, 11.1, 1.4, None, 6.2, 1.2, 7.6, 9.9, 4.6, 1.9, None, 15.9, 8.1, 5.36, None, 7.21, 10.4, 1.5, 1.9, 2.3, 5.2, None, 1.6, None, 2.0, 3.0, None, 8.6, 1.4, 9.6, 4.0, 1.0, None, 2.0, 3.0, None, 1.7, 2.15, 2.95, None, 3.5, 3.5, 4.3, 1.7, 3.8, 1.5, 5.5, None, None, 1.0, 4.6, 3.1, 1.6, 3.9, None, 2.5, None, 4.3, 1.3, None, 5.0, 2.6, 5.1, 3.0, 5.2, 6.0]
Tex = [None, 6.47, 6.14, 6.5, 6.4, 7.45, 7.61, 6.04, 4.3, 5.0, 8.55, 3.5, 7.83, 6.6, None, 6.71, 6.44, 4.7, None, None, 5.63, 5.1, None, 3.7, None, 5.0, 6.4, 4.6, None, None, 7.46, 7.65, 8.32, 6.7, 6.33, 6.2, 5.99, 5.62, 6.83, 4.9, 5.21, 6.13, 7.35, 7.82, 9.01, None, 6.69, 7.63, 7.18, None, None, 3.2, 8.4, None, 8.4, 8.1, 3.3, None, None, None, 8.6, 6.98, 0.0, 8.7, 9.0, 7.3, 8.5, None, 7.7, 8.31, 7.1, None, 9.1, 5.8, None, None, None, 6.5, None, None, None, None, 4.8, None, 5.6, 7.28, None, None, 7.9, None, 6.85, 6.1, 6.75, 5.4, 5.5, None, 7.26, 3.4, None, 7.53, 6.07, 5.09, None, 6.63, 5.0, None, 6.41, 5.2, 6.68, 7.04, 5.8, 3.2, None, 6.29, 7.66, 8.17, None, 7.72, 5.88, 4.3, 6.4, 5.2, 4.2, None, 3.8, None, 5.0, 5.1, None, 6.1, 3.7, 6.54, 4.1, 3.1, None, 5.0, 3.3, None, 6.0, None, None, None, 7.2, 8.6, 7.6, 7.0, 5.3, 7.6, 6.21, None, None, 5.0, 6.5, 6.9, 5.7, 7.8, None, 5.7, None, 5.8, 6.2, None, 6.0, 6.6, 6.1, 5.1, 4.8, 6.8]
intensity = [0.07, 0.46, 5.25, 5.87, 4.08, 2.21, 10.09, 12.36, 4.43, 2.93, 0.94, 19.97, 0.61, 13.29, 5.62, 0.71, 11.49, 10.32, 1.63, 0.8, 0.89, 4.89, 0.3, 1.74, 0.7, 0.95, 0.75, 0.74, 4.51, 1.54, 6.04, 10.56, 11.96, 10.78, 6.36, 4.96, 4.01, 5.0, 0.09, 5.36, 6.36, 2.24, 3.01, 5.26, 0.0, 8.85, 12.6, 16.2, 0.94, 8.26, 8.78, 7.22, 0.63, 0.2, 0.77, 6.12, 2.16, 11.13, 8.0, 0.51, 0.66, 0.53, 0.56, 8.47, 7.87, 11.46, 12.93, 16.77, 6.41, 13.1, 0.75, 7.35, 18.4, 0.21, 11.28, 0.9, 10.1, 7.4, 2.08, 6.02, 4.07, 4.62, 5.56, 2.44, 0.55, 2.93, 6.81, 7.67, 6.8, 0.36, 7.44, 0.22, 2.32, -0.09, 10.88, 2.7, 2.47, 1.15, 8.86, 0.12, 0.62, 0.7, 11.28, 6.54, 3.66, 0.6, 1.42, 8.72, 1.77, 0.76, 5.89, 1.74, 7.87, 11.78, 4.4, 1.07, 0.83, 9.78, 15.75, 0.55, 16.4, 0.7, 18.75, 6.69, 2.05, 4.13, 3.58, 1.16, 0.99, 0.3, -0.14, 0.73, 0.3, 0.4, 0.19, -0.2, 0.0, 0.21, 0.43, 0.56, 1.2, 2.17, 0.02, 0.47, 4.8, 0.59, 5.9, 1.3, 0.3, 0.43, 0.59, 0.95, 0.9, 1.0, 0.5, 4.3, 3.89, 1.5, 5.63, 8.3, 9.5, 3.6, 3.62, 4.42, 6.74, 0.77, 0.8, 1.2, 5.4, 4.1, 1.94, 0.0, 6.4, 1.43, 0.45, 2.89, -0.1, 1.62, 0.2, 3.2, 1.48, 0.36, 3.5, 0.2, 0.33, 0.1, 0.2, 2.37, 6.0, 1.88, 2.69, 6.8, -0.3]
data = [Tk, tau, Tex, Sv, intensity, n_nh3]
names = ["Tk", "tau", "Tex", "Sv", "intensity", "n_nh3"]
dic = dict(zip(names, data))
class Starless(PerseusData):
cores = [24, 33, None, None, 103, None, None, 108, None, 109, 113, None, None, None, None, 124, 112, None, 147, None, None, 152, 156, None, 157, 158, None, None, 170, None, None, 176, None, None, None, None, 163, 180, 183, None, 142, None, 151, None, None, 88, 82, 71, 79, 64, 66, None, 41, 50, None, None, None, 44, None, None, None, 75, 58, 73, 70, None, 72, None, 59]
mass = np.array([1.164, 1.421, 1.660, 1.558, 1.489, 7.223, 1.541, 4.810, 3.441, 0.394, 1.301, 6.590, 5.426, 1.592, 0.514, 1.352, 1.147, 2.14, 0.582, 0.753, 0.205, 0.462, 4.622, 2.020, 2.277, 2.876, 0.428, 0.770, 0.308, 1.66, 0.736, 1.147, 2.482, 0.907, 1.267, 0.839, 0.907, 4.211, 2.157, 1.113, 1.284, 0.856, 0.325, 0.308, 2.088, 0.941, 7.497, 5.905, 2.722, 7.446, 15.08, 1.181, 1.763, 2.259, 0.822, 1.643, 0.188, 3.663, 0.394, 0.65, 3.458, 24.529, 12.393, 8.096, 6.505, 2.773, 1.541, 0.541, 0.993])
radius = np.array([2.8e-2, 4.1e-2, 3.3e-2, 3.4e-2, 4.3e-2, 5.5e-2, 4.4e-2, 6.9e-2, 5.9e-2, 2.4e-2, 4.1e-2, 7.5e-2, 6.5e-2, 4.3e-2, 2.6e-2, 3.9e-2, 3.6e-2, 5.0e-2, 2.8e-2, 3.1e-2, 1.7e-2, 2.5e-2, 7.9e-2, 4.2e-2, 3.9e-2, 4.2e-2, 2.2e-2, 2.9e-2, 2.1e-2, 4.4e-2, 3.2e-2, 3.7e-2, 4.9e-2, 3.4e-2, 3.9e-2, 3.3e-2, 2.6e-2, 5.7e-2, 4.4e-2, 3.6e-2, 4.2e-2, 3.3e-2, 2.2e-2, 2.1e-2, 5.2e-2, 2.8e-2, 7.2e-2, 5.1e-2, 4.9e-2, 5.3e-2, 5.9e-2, 3.6e-2, 4.2e-2, 4.3e-2, 3.2e-2, 4.5e-2, 1.6e-2, 4.8e-2, 2.2e-2, 2.9e-2, 5.4e-2, 4.5e-2, 6.2e-2, 5.5e-2, 4.1e-2, 4.2e-2, 2.7e-2, 2.6e-2, 3.2e-2])
density = 0.75*mass*1.9891e33/(4.68e-24*np.pi*(3.08567758e18*radius)**3) #number density
density = np.log10(density)
names_n = ["mass", "density"]
data_n = [mass, density]
dic_n = dict(zip(names_n, data_n))
class Protostellar(PerseusData):
cores = [12, 14, 7, 31, 32, 34, 35, 105, 118, 119, None, 121, 123, 126, 99, 161, 162, 164, 165, 169, None, None, 178, 160, 40, None, 43, 46, None, 48, None, 65, 68, 69, 76, 77, 78, None, 81, None, None, 89]
mass = np.array([17.271, 4.930, 3.646, 0.496, 1.968, 2.105, 0.531, 0.822, 2.140, 14.618, 6.162, 17.802, 17.511, 3.030, 3.355, 10.014, 6.898, 3.406, 3.252, 2.653, 0.051, 2.277, 3.509, 6.077, 2.003, 0.496, 0.359, 3.132, 5.820, 3.560, 1.352, 0.753, 7.497, 0.633, 5.580, 10.818, 15.200, 4.605, 3.286, 1.386, 3.098, 1.404])
radius = np.array([5.6e-2, 3.7e-2, 3.9e-2, 2.1e-2, 3.0e-2, 3.5e-2, 1.8e-2, 3.3e-2, 4.3e-2, 6.9e-2, 5.4e-2, 8.9e-2, 6.5e-2, 5.0e-2, 4.4e-2, 5.9e-2, 4.7e-2, 4.2e-2, 3.9e-2, 4.1e-2, 8.2e-3, 5.3e-2, 4.9e-2, 5.8e-2, 4.7e-2, 2.6e-2, 1.8e-2, 5.0e-2, 6.3e-2, 4.3e-2, 3.8e-2, 2.6e-2, 5.1e-2, 2.4e-2, 5.1e-2, 6.1e-2, 4.9e-2, 4.1e-2, 5.5e-2, 2.9e-2, 4.6e-2, 3.3e-2])
density = 0.75*mass*1.9891e33/(4.68e-24*np.pi*(3.08567758e18*radius)**3) #number density
density = np.log10(density)
mass = list(mass)
density = list(density)
names_n = ["mass", "density"]
data_n = [mass, density]
dic_n = dict(zip(names_n, data_n))