foscat 2026.2.1__py3-none-any.whl → 2026.2.3__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 +3 -3
- foscat/scat_cov.py +2 -0
- {foscat-2026.2.1.dist-info → foscat-2026.2.3.dist-info}/METADATA +1 -1
- {foscat-2026.2.1.dist-info → foscat-2026.2.3.dist-info}/RECORD +7 -7
- {foscat-2026.2.1.dist-info → foscat-2026.2.3.dist-info}/WHEEL +0 -0
- {foscat-2026.2.1.dist-info → foscat-2026.2.3.dist-info}/licenses/LICENSE +0 -0
- {foscat-2026.2.1.dist-info → foscat-2026.2.3.dist-info}/top_level.txt +0 -0
foscat/FoCUS.py
CHANGED
|
@@ -9,7 +9,7 @@ from foscat.SphereDownGeo import SphereDownGeo
|
|
|
9
9
|
from foscat.SphereUpGeo import SphereUpGeo
|
|
10
10
|
import torch
|
|
11
11
|
|
|
12
|
-
TMPFILE_VERSION = "
|
|
12
|
+
TMPFILE_VERSION = "V14_0"
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class FoCUS:
|
|
@@ -39,7 +39,7 @@ class FoCUS:
|
|
|
39
39
|
mpi_rank=0
|
|
40
40
|
):
|
|
41
41
|
|
|
42
|
-
self.__version__ = "2026.02.
|
|
42
|
+
self.__version__ = "2026.02.3"
|
|
43
43
|
# P00 coeff for normalization for scat_cov
|
|
44
44
|
self.TMPFILE_VERSION = TMPFILE_VERSION
|
|
45
45
|
self.P1_dic = None
|
|
@@ -1579,7 +1579,7 @@ class FoCUS:
|
|
|
1579
1579
|
|
|
1580
1580
|
xx=np.tile(np.arange(self.KERNELSZ)-self.KERNELSZ//2,self.KERNELSZ).reshape(self.KERNELSZ,self.KERNELSZ)
|
|
1581
1581
|
|
|
1582
|
-
if nside>
|
|
1582
|
+
if nside>1:
|
|
1583
1583
|
wwr=(np.exp(-pw2*(xx**2+(xx.T)**2))*np.cos(pw*xx*np.pi)).reshape(1,1,self.KERNELSZ*self.KERNELSZ)
|
|
1584
1584
|
wwr-=wwr.mean()
|
|
1585
1585
|
wwi=(np.exp(-pw2*(xx**2+(xx.T)**2))*np.sin(pw*xx*np.pi)).reshape(1,1,self.KERNELSZ*self.KERNELSZ)
|
foscat/scat_cov.py
CHANGED
|
@@ -2702,6 +2702,7 @@ class funct(FOC.FoCUS):
|
|
|
2702
2702
|
nside = int(np.sqrt(npix // 12))
|
|
2703
2703
|
|
|
2704
2704
|
J = int(np.log2(nside)+1) # Number of j scales
|
|
2705
|
+
|
|
2705
2706
|
if cell_ids is not None:
|
|
2706
2707
|
J=np.min([J,int(np.log(cell_ids.shape[0]) / (2*np.log(2)))-1])
|
|
2707
2708
|
|
|
@@ -2764,6 +2765,7 @@ class funct(FOC.FoCUS):
|
|
|
2764
2765
|
I2 = self.up_grade(I2, nside * 2)
|
|
2765
2766
|
|
|
2766
2767
|
nside = nside * 2
|
|
2768
|
+
Jmax = Jmax +1
|
|
2767
2769
|
|
|
2768
2770
|
# Normalize the masks because they have different pixel numbers
|
|
2769
2771
|
# vmask /= self.backend.bk_reduce_sum(vmask, axis=1)[:, None] # [Nmask, Npix]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: foscat
|
|
3
|
-
Version: 2026.2.
|
|
3
|
+
Version: 2026.2.3
|
|
4
4
|
Summary: Generate synthetic Healpix or 2D data using Cross Scattering Transform
|
|
5
5
|
Author-email: Jean-Marc DELOUIS <jean.marc.delouis@ifremer.fr>
|
|
6
6
|
Maintainer-email: Theo Foulquier <theo.foulquier@ifremer.fr>
|
|
@@ -4,7 +4,7 @@ foscat/BkTensorflow.py,sha256=iIdLx6VTOfOEocfZBOGyizQn5geDLTfdWWAwDeQr9YA,20056
|
|
|
4
4
|
foscat/BkTorch.py,sha256=9utOTAfS99E7DPN0QfCnn5ULS1WdS4z3-Z0XJMriJY4,53202
|
|
5
5
|
foscat/CNN.py,sha256=4vky7jqTshL1aYLWsc-hQwf7gDjTVjL7I6HZiAsa6x4,5158
|
|
6
6
|
foscat/CircSpline.py,sha256=CXi49FxF8ZoeZ17Ua8c1AZXe2B5ICEC9aCXb97atB3s,4028
|
|
7
|
-
foscat/FoCUS.py,sha256=
|
|
7
|
+
foscat/FoCUS.py,sha256=8dTRKUNXHHqLDESmsEr-xWXArZWLrmEase2I1y_8BVs,109790
|
|
8
8
|
foscat/GCNN.py,sha256=q7yWHCMJpP7-m3WvR3OQnp5taeYWaMxIY2hQ6SIb9gs,4487
|
|
9
9
|
foscat/HOrientedConvol.py,sha256=xMaS-zzoUyXisBCPsHBVpn54tuA9Qv3na-tT86Cwn7U,38744
|
|
10
10
|
foscat/HealBili.py,sha256=YRPk9PO5G8NdwKeb33xiJs3_pMPAgIv5phCs8GT6LN0,12943
|
|
@@ -33,14 +33,14 @@ foscat/planar_vit.py,sha256=lQqwyz_P8G-Dav2vLqgkssDfeSe15YmjFzP5W-otjs0,6888
|
|
|
33
33
|
foscat/scat.py,sha256=emN7MsSuoJzPWQfgDETScZeKLmu8K-jjEh5Dp7szQzY,72809
|
|
34
34
|
foscat/scat1D.py,sha256=FvvxwhlzxwvIETkenpisvDteJ06DBYP5K7wsnJ2nHjM,53713
|
|
35
35
|
foscat/scat2D.py,sha256=boKj0ASqMMSy7uQLK6hPniG87m3hZGJBYBiq5v8F9IQ,532
|
|
36
|
-
foscat/scat_cov.py,sha256=
|
|
36
|
+
foscat/scat_cov.py,sha256=enGg_OdhB1pXvvoG3ECt_9K-sFlwOjzyn_jaoC_Kmes,271818
|
|
37
37
|
foscat/scat_cov1D.py,sha256=XOxsZZ5TYq8f34i2tUgIfzyaqaTDlICB3HzD2l_puro,531
|
|
38
38
|
foscat/scat_cov2D.py,sha256=pAm0fKw8wyXram0TFbtw8tGcc8QPKuPXpQk0kh10r4U,7078
|
|
39
39
|
foscat/scat_cov_map.py,sha256=9MzpwT2g9S3dmnjHEMK7PPLQ27oGQg2VFVsP_TDUU5E,2869
|
|
40
40
|
foscat/scat_cov_map2D.py,sha256=zaIIYshXCqAeZ04I158GhD-Op4aoMlLnLEy7rxckVYY,2842
|
|
41
41
|
foscat/unet_2_d_from_healpix_params.py,sha256=r8hN-s091f3yHYlvAAiBbLOvtsz9vPrdwrWPM0ULR2Q,15949
|
|
42
|
-
foscat-2026.2.
|
|
43
|
-
foscat-2026.2.
|
|
44
|
-
foscat-2026.2.
|
|
45
|
-
foscat-2026.2.
|
|
46
|
-
foscat-2026.2.
|
|
42
|
+
foscat-2026.2.3.dist-info/licenses/LICENSE,sha256=i0ukIr8ZUpkSY2sZaE9XZK-6vuSU5iG6IgX_3pjatP8,1505
|
|
43
|
+
foscat-2026.2.3.dist-info/METADATA,sha256=DOWjA-o0BmegWKQQV4olIwL5L6FJePFOdLZujE1-YFM,4489
|
|
44
|
+
foscat-2026.2.3.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
45
|
+
foscat-2026.2.3.dist-info/top_level.txt,sha256=AGySXBBAlJgb8Tj8af6m_F-aiNg2zNTcybCUPVOKjAg,7
|
|
46
|
+
foscat-2026.2.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|