astro-nest 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- NEST/NEST.py +1 -2
- {astro_nest-0.5.0.dist-info → astro_nest-0.5.1.dist-info}/METADATA +1 -1
- {astro_nest-0.5.0.dist-info → astro_nest-0.5.1.dist-info}/RECORD +5 -5
- {astro_nest-0.5.0.dist-info → astro_nest-0.5.1.dist-info}/WHEEL +0 -0
- {astro_nest-0.5.0.dist-info → astro_nest-0.5.1.dist-info}/top_level.txt +0 -0
NEST/NEST.py
CHANGED
@@ -298,13 +298,12 @@ class AgeModel:
|
|
298
298
|
max_i_mag = np.minimum(np.digitize(mag[i] + errors[1],self.space_mag) - 1,self.space_mag.size-2)
|
299
299
|
min_i_met = np.maximum(np.digitize(met[i] - errors[2],self.space_met) - 1,0)
|
300
300
|
max_i_met = np.minimum(np.digitize(met[i] + errors[2],self.space_met) - 1,self.space_met.size-2)
|
301
|
-
#cells[i] = np.array([[min_i_col,max_i_col],[min_i_mag,max_i_mag],[min_i_met,max_i_met]])
|
302
301
|
if self.cut and (self.space_col[min_i_col] > 1.25 or self.space_mag[min_i_mag] > 4):
|
303
302
|
in_domain[i] = False
|
304
303
|
continue
|
305
304
|
in_domain[i] = bool(np.any(self.domain[min_i_col:max_i_col+1,min_i_mag:max_i_mag+1,min_i_met:max_i_met+1]) == 1)
|
306
305
|
|
307
|
-
return in_domain
|
306
|
+
return in_domain
|
308
307
|
|
309
308
|
def propagate(self,X,neural_network,scaler):
|
310
309
|
if self.use_sklearn:
|
@@ -1,4 +1,4 @@
|
|
1
|
-
NEST/NEST.py,sha256=
|
1
|
+
NEST/NEST.py,sha256=Kgjbb7GTPZzWVwgDxCkphJI8Hzq0D5vuZ30E3eckcaw,15756
|
2
2
|
NEST/__init__.py,sha256=OKJbgoTPkmXisdQCOj7rSIZf-kxym0077bfFPa0zxb0,19
|
3
3
|
NEST/domain.pkl,sha256=Z0zv80P6Kc49Bw932gXe4q2ScANEjTvCetlaY9NMNCo,1353728
|
4
4
|
NEST/tutorial.ipynb,sha256=_YcbYokFZcWgxO0kZZjJc4v5sBjd0t8td00flc1Mxh4,67643
|
@@ -66,7 +66,7 @@ NEST/models/scaler_SYCLIST.sav,sha256=mpr_hzBcB3jso80j2PNfMHD2IqRdHupp4LrAggBjrP
|
|
66
66
|
NEST/models/scaler_SYCLIST_BPRP.sav,sha256=Eb9F6BAx8MCFFSRLgZUonGLAY1sII6X4xnyn8Qil23w,522
|
67
67
|
NEST/models/scaler_YaPSI.sav,sha256=MzhMbTcjE3o9U_i1IKhZvw0pOjQe040X_qJJPDCJV4A,570
|
68
68
|
NEST/models/scaler_YaPSI_BPRP.sav,sha256=j9gCxIQndfTPd84fhSNGyCWX3jcyBeLJEZZCjvgFrro,522
|
69
|
-
astro_nest-0.5.
|
70
|
-
astro_nest-0.5.
|
71
|
-
astro_nest-0.5.
|
72
|
-
astro_nest-0.5.
|
69
|
+
astro_nest-0.5.1.dist-info/METADATA,sha256=IHFSYiFBHfXUas4zD0P12WWDsLBGiiHrLWxlx0EnLAk,943
|
70
|
+
astro_nest-0.5.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
71
|
+
astro_nest-0.5.1.dist-info/top_level.txt,sha256=TpsNVEvaG60SlJ4tjyQu4aOsE5ov9RW9lQtLpgBAx4E,5
|
72
|
+
astro_nest-0.5.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|