foscat 3.0.44__tar.gz → 3.0.45__tar.gz
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-3.0.44 → foscat-3.0.45}/PKG-INFO +1 -1
- {foscat-3.0.44 → foscat-3.0.45}/setup.py +1 -1
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/FoCUS.py +1 -1
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/scat_cov.py +12 -12
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat.egg-info/PKG-INFO +1 -1
- {foscat-3.0.44 → foscat-3.0.45}/README.md +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/setup.cfg +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/CNN.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/CircSpline.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/GCNN.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/GetGPUinfo.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/Softmax.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/Spline1D.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/Synthesis.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/__init__.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/backend.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/backend_tens.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/loss_backend_tens.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/loss_backend_torch.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/scat.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/scat1D.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/scat2D.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/scat_cov1D.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/scat_cov2D.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/scat_cov_map.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat/scat_cov_map2D.py +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat.egg-info/SOURCES.txt +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat.egg-info/dependency_links.txt +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat.egg-info/requires.txt +0 -0
- {foscat-3.0.44 → foscat-3.0.45}/src/foscat.egg-info/top_level.txt +0 -0
|
@@ -3,7 +3,7 @@ from setuptools import setup, find_packages
|
|
|
3
3
|
|
|
4
4
|
setup(
|
|
5
5
|
name='foscat',
|
|
6
|
-
version='3.0.
|
|
6
|
+
version='3.0.45',
|
|
7
7
|
description='Generate synthetic Healpix or 2D data using Cross Scattering Transform' ,
|
|
8
8
|
long_description='Utilize the Cross Scattering Transform (described in https://arxiv.org/abs/2207.12527) to synthesize Healpix or 2D data that is suitable for component separation purposes, such as denoising. \n A demo package for this process can be found at https://github.com/jmdelouis/FOSCAT_DEMO. \n Complete doc can be found at https://foscat-documentation.readthedocs.io/en/latest/index.html. \n\n List of developers : J.-M. Delouis, T. Foulquier, L. Mousset, T. Odaka, F. Paul, E. Allys ' ,
|
|
9
9
|
license='MIT',
|
|
@@ -77,22 +77,22 @@ class scat_cov:
|
|
|
77
77
|
return val
|
|
78
78
|
# ---------------------------------------------−---------
|
|
79
79
|
def flatten(self):
|
|
80
|
-
tmp=[self.conv2complex(self.backend.bk_reshape(self.S0[0],
|
|
80
|
+
tmp=[self.conv2complex(self.backend.bk_reshape(self.S0,[self.S1.shape[0],self.S0.shape[1]]))]
|
|
81
81
|
if self.S1 is not None:
|
|
82
|
-
tmp=tmp+[self.conv2complex(self.backend.bk_reshape(self.S1
|
|
83
|
-
[self.S1.shape[1]*self.S1.shape[2]*self.S1.shape[3]]))]
|
|
84
|
-
tmp=tmp+[self.conv2complex(self.backend.bk_reshape(self.P00
|
|
85
|
-
[self.S1.shape[1]*self.S1.shape[2]*self.S1.shape[3]])),
|
|
86
|
-
self.conv2complex(self.backend.bk_reshape(self.C01
|
|
87
|
-
[self.C01.shape[1]*self.C01.shape[2]*self.C01.shape[3]*self.C01.shape[4]]))]
|
|
82
|
+
tmp=tmp+[self.conv2complex(self.backend.bk_reshape(self.S1,
|
|
83
|
+
[self.S1.shape[0],self.S1.shape[1]*self.S1.shape[2]*self.S1.shape[3]]))]
|
|
84
|
+
tmp=tmp+[self.conv2complex(self.backend.bk_reshape(self.P00,
|
|
85
|
+
[self.S1.shape[0],self.S1.shape[1]*self.S1.shape[2]*self.S1.shape[3]])),
|
|
86
|
+
self.conv2complex(self.backend.bk_reshape(self.C01,
|
|
87
|
+
[self.C01.shape[0],self.C01.shape[1]*self.C01.shape[2]*self.C01.shape[3]*self.C01.shape[4]]))]
|
|
88
88
|
if self.C10 is not None:
|
|
89
|
-
tmp=tmp+[self.conv2complex(self.backend.bk_reshape(self.C10
|
|
90
|
-
[self.C01.shape[1]*self.C01.shape[2]*self.C01.shape[3]*self.C01.shape[4]]))]
|
|
89
|
+
tmp=tmp+[self.conv2complex(self.backend.bk_reshape(self.C10,
|
|
90
|
+
[self.C01.shape[0],self.C01.shape[1]*self.C01.shape[2]*self.C01.shape[3]*self.C01.shape[4]]))]
|
|
91
91
|
|
|
92
|
-
tmp=tmp+[self.conv2complex(self.backend.bk_reshape(self.C11
|
|
93
|
-
[self.C11.shape[1]*self.C11.shape[2]*self.C11.shape[3]*self.C11.shape[4]*self.C11.shape[5]]))]
|
|
92
|
+
tmp=tmp+[self.conv2complex(self.backend.bk_reshape(self.C11,
|
|
93
|
+
[self.C01.shape[0],self.C11.shape[1]*self.C11.shape[2]*self.C11.shape[3]*self.C11.shape[4]*self.C11.shape[5]]))]
|
|
94
94
|
|
|
95
|
-
return self.backend.bk_concat(tmp,
|
|
95
|
+
return self.backend.bk_concat(tmp,1)
|
|
96
96
|
|
|
97
97
|
# ---------------------------------------------−---------
|
|
98
98
|
def flattenMask(self):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|