foscat 3.1.6__py3-none-any.whl → 3.2.0__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/scat2D.py CHANGED
@@ -1,15 +1,17 @@
1
1
  import foscat.scat as scat
2
2
 
3
+
3
4
  class scat2D:
4
- def __init__(self,p00,s0,s1,s2,s2l,j1,j2,cross=False,backend=None):
5
- the_scat=scat(p00,s0,s1,s2,s2l,j1,j2,cross=cross,backend=backend)
6
- the_scat.set_bk_type('SCAT2D')
5
+ def __init__(self, p00, s0, s1, s2, s2l, j1, j2, cross=False, backend=None):
6
+ the_scat = scat(p00, s0, s1, s2, s2l, j1, j2, cross=cross, backend=backend)
7
+ the_scat.set_bk_type("SCAT2D")
7
8
  return the_scat
8
-
9
- def fill(self,im,nullval=0):
10
- return self.fill_2d(im,nullval=nullval)
9
+
10
+ def fill(self, im, nullval=0):
11
+ return self.fill_2d(im, nullval=nullval)
12
+
11
13
 
12
14
  class funct(scat.funct):
13
15
  def __init__(self, *args, **kwargs):
14
16
  # Impose que use_2D=True pour la classe scat
15
- super(funct, self).__init__(use_2D=True, *args, **kwargs)
17
+ super().__init__(use_2D=True, *args, **kwargs)