foscat 3.1.4__tar.gz → 3.1.6__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.
Files changed (31) hide show
  1. {foscat-3.1.4 → foscat-3.1.6}/PKG-INFO +7 -1
  2. {foscat-3.1.4 → foscat-3.1.6}/setup.py +1 -1
  3. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/FoCUS.py +1 -1
  4. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/scat_cov.py +4 -5
  5. {foscat-3.1.4 → foscat-3.1.6}/src/foscat.egg-info/PKG-INFO +7 -1
  6. {foscat-3.1.4 → foscat-3.1.6}/README.md +0 -0
  7. {foscat-3.1.4 → foscat-3.1.6}/setup.cfg +0 -0
  8. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/CNN.py +0 -0
  9. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/CircSpline.py +0 -0
  10. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/GCNN.py +0 -0
  11. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/GetGPUinfo.py +0 -0
  12. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/Softmax.py +0 -0
  13. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/Spline1D.py +0 -0
  14. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/Synthesis.py +0 -0
  15. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/__init__.py +0 -0
  16. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/backend.py +0 -0
  17. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/backend_tens.py +0 -0
  18. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/loss_backend_tens.py +0 -0
  19. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/loss_backend_torch.py +0 -0
  20. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/scat.py +0 -0
  21. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/scat1D.py +0 -0
  22. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/scat2D.py +0 -0
  23. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/scat_cov1D.old.py +0 -0
  24. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/scat_cov1D.py +0 -0
  25. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/scat_cov2D.py +0 -0
  26. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/scat_cov_map.py +0 -0
  27. {foscat-3.1.4 → foscat-3.1.6}/src/foscat/scat_cov_map2D.py +0 -0
  28. {foscat-3.1.4 → foscat-3.1.6}/src/foscat.egg-info/SOURCES.txt +0 -0
  29. {foscat-3.1.4 → foscat-3.1.6}/src/foscat.egg-info/dependency_links.txt +0 -0
  30. {foscat-3.1.4 → foscat-3.1.6}/src/foscat.egg-info/requires.txt +0 -0
  31. {foscat-3.1.4 → foscat-3.1.6}/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.1.4
3
+ Version: 3.1.6
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,6 +9,12 @@ 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
12
18
 
13
19
  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.
14
20
  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.1.4',
6
+ version='3.1.6',
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',
@@ -33,7 +33,7 @@ class FoCUS:
33
33
  mpi_size=1,
34
34
  mpi_rank=0):
35
35
 
36
- self.__version__ = '3.1.4'
36
+ self.__version__ = '3.1.6'
37
37
  # P00 coeff for normalization for scat_cov
38
38
  self.TMPFILE_VERSION=TMPFILE_VERSION
39
39
  self.P1_dic = None
@@ -1961,8 +1961,7 @@ class funct(FOC.FoCUS):
1961
1961
  if not cross:
1962
1962
  s0,l_vs0 = self.masked_mean(I1,vmask,axis=1,calc_var=True)
1963
1963
  else:
1964
- s0,l_vs0 = self.masked_mean(I1-I2,vmask,axis=1,calc_var=True)
1965
-
1964
+ s0,l_vs0 = self.masked_mean(self.backend.bk_L1(I1*I2),vmask,axis=1,calc_var=True)
1966
1965
  vs0=self.backend.bk_concat([l_vs0,l_vs0],1)
1967
1966
  s0=self.backend.bk_concat([s0,l_vs0],1)
1968
1967
 
@@ -2012,7 +2011,7 @@ class funct(FOC.FoCUS):
2012
2011
 
2013
2012
  if cond_init_P1_dic:
2014
2013
  # We fill P1_dic with P00 for normalisation of C01 and C11
2015
- P1_dic[j3] = p00 # [Nbatch, Nmask, Norient3]
2014
+ P1_dic[j3] = self.backend.bk_real(p00) # [Nbatch, Nmask, Norient3]
2016
2015
 
2017
2016
  # We store P00_auto to return it [Nbatch, Nmask, NP00, Norient3]
2018
2017
  if return_data:
@@ -2087,8 +2086,8 @@ class funct(FOC.FoCUS):
2087
2086
  p1 = self.masked_mean(M1_square, vmask, axis=1,rank=j3) # [Nbatch, Nmask, Norient3]
2088
2087
  p2 = self.masked_mean(M2_square, vmask, axis=1,rank=j3) # [Nbatch, Nmask, Norient3]
2089
2088
  # We fill P1_dic with P00 for normalisation of C01 and C11
2090
- P1_dic[j3] = p1 # [Nbatch, Nmask, Norient3]
2091
- P2_dic[j3] = p2 # [Nbatch, Nmask, Norient3]
2089
+ P1_dic[j3] = self.backend.bk_real(p1) # [Nbatch, Nmask, Norient3]
2090
+ P2_dic[j3] = self.backend.bk_real(p2) # [Nbatch, Nmask, Norient3]
2092
2091
 
2093
2092
  ### P00_cross = < (I1 * Psi_j3) (I2 * Psi_j3)^* >_pix
2094
2093
  # z_1 x z_2^* = (a1a2 + b1b2) + i(b1a2 - a1b2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: foscat
3
- Version: 3.1.4
3
+ Version: 3.1.6
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,6 +9,12 @@ 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
12
18
 
13
19
  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.
14
20
  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