foscat 3.0.34__py3-none-any.whl → 3.0.35__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.
- foscat/FoCUS.py +1 -1
- foscat/GCNN.py +7 -3
- {foscat-3.0.34.dist-info → foscat-3.0.35.dist-info}/METADATA +1 -1
- {foscat-3.0.34.dist-info → foscat-3.0.35.dist-info}/RECORD +6 -6
- {foscat-3.0.34.dist-info → foscat-3.0.35.dist-info}/WHEEL +0 -0
- {foscat-3.0.34.dist-info → foscat-3.0.35.dist-info}/top_level.txt +0 -0
foscat/FoCUS.py
CHANGED
foscat/GCNN.py
CHANGED
|
@@ -71,7 +71,7 @@ class GCNN:
|
|
|
71
71
|
for i in range(self.nscale):
|
|
72
72
|
totnchan=totnchan+self.chanlist[i]*self.chanlist[i+1]
|
|
73
73
|
return self.npar*12*self.in_nside**2*self.chanlist[0] \
|
|
74
|
-
+totnchan
|
|
74
|
+
+(totnchan+self.chanlist[i+1]*self.n_chan_out)*self.KERNELSZ*self.KERNELSZ
|
|
75
75
|
|
|
76
76
|
def set_weights(self,x):
|
|
77
77
|
self.x=x
|
|
@@ -107,8 +107,12 @@ class GCNN:
|
|
|
107
107
|
im=self.scat_operator.healpix_layer_transpose(im,ww,indices=indices[k],weights=weights[k],axis=1)
|
|
108
108
|
im=self.scat_operator.backend.bk_relu(im)
|
|
109
109
|
|
|
110
|
-
ww=self.scat_operator.backend.bk_reshape(x[nn:],[self.chanlist[self.nscale],self.n_chan_out])
|
|
111
|
-
|
|
110
|
+
ww=self.scat_operator.backend.bk_reshape(x[nn:],[self.KERNELSZ*self.KERNELSZ,self.chanlist[self.nscale],self.n_chan_out])
|
|
111
|
+
if indices is None:
|
|
112
|
+
im=self.scat_operator.healpix_layer(im,ww,axis=1)
|
|
113
|
+
else:
|
|
114
|
+
im=self.scat_operator.healpix_layer(im,ww,indices=indices[self.nscale],weights=weights[self.nscale],axis=1)
|
|
115
|
+
|
|
112
116
|
if axis==0:
|
|
113
117
|
im=self.scat_operator.backend.bk_reshape(im,[im.shape[1],im.shape[2]])
|
|
114
118
|
return im
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
foscat/CNN.py,sha256=M7i9gdPQvFTPxKySrlaKsCnOXK0iwXBKcQ2FqdPK-JM,4408
|
|
2
2
|
foscat/CircSpline.py,sha256=610sgsWeZzRXYh7gYEqUmGQVrXoHSaFGKjH5mCdh4jU,1684
|
|
3
|
-
foscat/FoCUS.py,sha256=
|
|
4
|
-
foscat/GCNN.py,sha256=
|
|
3
|
+
foscat/FoCUS.py,sha256=iTE2vwey63bCl1mLwkp2PffxbkxDS1dKGnt1Op2ldgg,72101
|
|
4
|
+
foscat/GCNN.py,sha256=hJWPJTCrd07fJp1ypeVb9WYgVAsipYRUuENg5sQEfo8,4445
|
|
5
5
|
foscat/GetGPUinfo.py,sha256=c01MFYCk38niYCTp0vX3WP24zVDHIsex-Cu42hc9Q18,724
|
|
6
6
|
foscat/Softmax.py,sha256=UDc8Kbl0qWfH1bqDDwfLnkxhON7p93ueZ-Qg2oY4Ke4,2874
|
|
7
7
|
foscat/Spline1D.py,sha256=9oeM8SSHjpfUE5z72YxGt1RVt22vJYM1zhHbNBW8phw,1232
|
|
@@ -19,7 +19,7 @@ foscat/scat_cov1D.py,sha256=1bhzaW-5Pcr1aEPOYIXiwu8KOy38JE0g_Y5PvFzGQs8,60599
|
|
|
19
19
|
foscat/scat_cov2D.py,sha256=8_XvC-lOEVUWP9vT3Wx10G_ATeVeh0SdrSWuBV7Xf5k,536
|
|
20
20
|
foscat/scat_cov_map.py,sha256=ocU2xd41GtJhiU9S3dEv38KfPCvz0tJKY2f8lPxpm5c,2729
|
|
21
21
|
foscat/scat_cov_map2D.py,sha256=t4llIt7DVIyU1b_u-dJSX4lBr2FhDict8RnNnHpRvHM,2754
|
|
22
|
-
foscat-3.0.
|
|
23
|
-
foscat-3.0.
|
|
24
|
-
foscat-3.0.
|
|
25
|
-
foscat-3.0.
|
|
22
|
+
foscat-3.0.35.dist-info/METADATA,sha256=gaxEaUUxLtDg8ZWKgPhPasaR3Bjob-q5E9Ph3j3QPpw,1013
|
|
23
|
+
foscat-3.0.35.dist-info/WHEEL,sha256=cpQTJ5IWu9CdaPViMhC9YzF8gZuS5-vlfoFihTBC86A,91
|
|
24
|
+
foscat-3.0.35.dist-info/top_level.txt,sha256=AGySXBBAlJgb8Tj8af6m_F-aiNg2zNTcybCUPVOKjAg,7
|
|
25
|
+
foscat-3.0.35.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|