foscat 2025.9.3__py3-none-any.whl → 2025.9.5__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 CHANGED
@@ -36,7 +36,7 @@ class FoCUS:
36
36
  mpi_rank=0
37
37
  ):
38
38
 
39
- self.__version__ = "2025.09.3"
39
+ self.__version__ = "2025.09.5"
40
40
  # P00 coeff for normalization for scat_cov
41
41
  self.TMPFILE_VERSION = TMPFILE_VERSION
42
42
  self.P1_dic = None
@@ -123,6 +123,7 @@ class FoCUS:
123
123
  silent=self.silent,
124
124
  )
125
125
  elif BACKEND == "tensorflow":
126
+ '''
126
127
  from foscat.BkTensorflow import BkTensorflow
127
128
 
128
129
  self.backend = BkTensorflow(
@@ -131,7 +132,10 @@ class FoCUS:
131
132
  gpupos=gpupos,
132
133
  silent=self.silent,
133
134
  )
135
+ '''
136
+ raise 'TENSORFLOW BACKEND Not anymore maintained'
134
137
  else:
138
+ '''
135
139
  from foscat.BkNumpy import BkNumpy
136
140
 
137
141
  self.backend = BkNumpy(
@@ -140,6 +144,8 @@ class FoCUS:
140
144
  gpupos=gpupos,
141
145
  silent=self.silent,
142
146
  )
147
+ '''
148
+ raise 'NUMPY BACKEND Not anymore maintained'
143
149
 
144
150
  self.all_bk_type = self.backend.all_bk_type
145
151
  self.all_cbk_type = self.backend.all_cbk_type