foscat 3.0.28__tar.gz → 3.0.29__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.28 → foscat-3.0.29}/PKG-INFO +1 -7
- {foscat-3.0.28 → foscat-3.0.29}/setup.py +1 -1
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/FoCUS.py +1 -1
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/backend.py +14 -2
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/scat_cov1D.py +7 -7
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat.egg-info/PKG-INFO +1 -7
- {foscat-3.0.28 → foscat-3.0.29}/README.md +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/setup.cfg +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/CNN.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/CircSpline.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/GCNN.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/GetGPUinfo.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/Softmax.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/Spline1D.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/Synthesis.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/__init__.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/backend_tens.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/loss_backend_tens.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/loss_backend_torch.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/scat.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/scat1D.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/scat2D.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/scat_cov.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/scat_cov2D.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/scat_cov_map.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat/scat_cov_map2D.py +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat.egg-info/SOURCES.txt +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat.egg-info/dependency_links.txt +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat.egg-info/requires.txt +0 -0
- {foscat-3.0.28 → foscat-3.0.29}/src/foscat.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: foscat
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.29
|
|
4
4
|
Summary: Generate synthetic Healpix or 2D data using Cross Scattering Transform
|
|
5
5
|
Home-page: https://github.com/jmdelouis/FOSCAT
|
|
6
6
|
Author: Jean-Marc DELOUIS
|
|
@@ -9,12 +9,6 @@ Maintainer: Theo Foulquier
|
|
|
9
9
|
Maintainer-email: theo.foulquier@ifremer.fr
|
|
10
10
|
License: MIT
|
|
11
11
|
Keywords: Scattering transform,Component separation,denoising
|
|
12
|
-
Requires-Dist: imageio
|
|
13
|
-
Requires-Dist: imagecodecs
|
|
14
|
-
Requires-Dist: matplotlib
|
|
15
|
-
Requires-Dist: numpy
|
|
16
|
-
Requires-Dist: tensorflow
|
|
17
|
-
Requires-Dist: healpy
|
|
18
12
|
|
|
19
13
|
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.
|
|
20
14
|
A demo package for this process can be found at https://github.com/jmdelouis/FOSCAT_DEMO.
|
|
@@ -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.29',
|
|
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',
|
|
@@ -684,9 +684,21 @@ class foscat_backend:
|
|
|
684
684
|
|
|
685
685
|
if self.BACKEND==self.TENSORFLOW or self.BACKEND==self.TORCH:
|
|
686
686
|
if axis is None:
|
|
687
|
-
|
|
687
|
+
if data[0].dtype==self.all_cbk_type:
|
|
688
|
+
ndata=len(data)
|
|
689
|
+
xr=self.backend.concat([self.bk_real(data[k]) for k in range(ndata)])
|
|
690
|
+
xi=self.backend.concat([self.bk_imag(data[k]) for k in range(ndata)])
|
|
691
|
+
return self.backend.complex(xr,xi)
|
|
692
|
+
else:
|
|
693
|
+
return(self.backend.concat(data))
|
|
688
694
|
else:
|
|
689
|
-
|
|
695
|
+
if data[0].dtype==self.all_cbk_type:
|
|
696
|
+
ndata=len(data)
|
|
697
|
+
xr=self.backend.concat([self.bk_real(data[k]) for k in range(ndata)],axis=axis)
|
|
698
|
+
xi=self.backend.concat([self.bk_imag(data[k]) for k in range(ndata)],axis=axis)
|
|
699
|
+
return self.backend.complex(xr,xi)
|
|
700
|
+
else:
|
|
701
|
+
return(self.backend.concat(data,axis=axis))
|
|
690
702
|
else:
|
|
691
703
|
if axis is None:
|
|
692
704
|
return np.concatenate(data,axis=0)
|
|
@@ -794,19 +794,19 @@ class scat_cov1D:
|
|
|
794
794
|
|
|
795
795
|
# ---------------------------------------------−---------
|
|
796
796
|
def flatten(self):
|
|
797
|
-
tmp=[self.build_flat(self.P00)]
|
|
797
|
+
tmp=[self.backend.bk_real(self.build_flat(self.P00))]
|
|
798
798
|
|
|
799
799
|
if self.S1 is not None:
|
|
800
|
-
tmp=tmp+[self.build_flat(self.S1)]
|
|
800
|
+
tmp=tmp+[self.backend.bk_real(self.build_flat(self.S1))]
|
|
801
801
|
|
|
802
|
-
tmp=tmp+[self.build_flat(self.C01)]
|
|
802
|
+
tmp=tmp+[self.backend.bk_real(self.build_flat(self.C01))]
|
|
803
803
|
|
|
804
804
|
if self.C10 is not None:
|
|
805
|
-
tmp=tmp+[self.build_flat(self.C10)]
|
|
805
|
+
tmp=tmp+[self.backend.bk_real(self.build_flat(self.C10))]
|
|
806
806
|
|
|
807
|
-
tmp=tmp+[self.build_flat(self.C11)]
|
|
808
|
-
|
|
809
|
-
if isinstance(self.
|
|
807
|
+
tmp=tmp+[self.backend.bk_real(self.build_flat(self.C11))]
|
|
808
|
+
|
|
809
|
+
if isinstance(self.C11,np.ndarray):
|
|
810
810
|
return np.concatenate(tmp,1)
|
|
811
811
|
else:
|
|
812
812
|
return self.backend.bk_concat(tmp,1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: foscat
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.29
|
|
4
4
|
Summary: Generate synthetic Healpix or 2D data using Cross Scattering Transform
|
|
5
5
|
Home-page: https://github.com/jmdelouis/FOSCAT
|
|
6
6
|
Author: Jean-Marc DELOUIS
|
|
@@ -9,12 +9,6 @@ Maintainer: Theo Foulquier
|
|
|
9
9
|
Maintainer-email: theo.foulquier@ifremer.fr
|
|
10
10
|
License: MIT
|
|
11
11
|
Keywords: Scattering transform,Component separation,denoising
|
|
12
|
-
Requires-Dist: imageio
|
|
13
|
-
Requires-Dist: imagecodecs
|
|
14
|
-
Requires-Dist: matplotlib
|
|
15
|
-
Requires-Dist: numpy
|
|
16
|
-
Requires-Dist: tensorflow
|
|
17
|
-
Requires-Dist: healpy
|
|
18
12
|
|
|
19
13
|
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.
|
|
20
14
|
A demo package for this process can be found at https://github.com/jmdelouis/FOSCAT_DEMO.
|
|
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
|