multipers 2.3.5b2__cp313-cp313-win_amd64.whl → 2.3.5b3__cp313-cp313-win_amd64.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.

Potentially problematic release.


This version of multipers might be problematic. Click here for more details.

multipers/slicer.pyx CHANGED
@@ -811,7 +811,6 @@ cdef class _KSlicer_Matrix0_vine_i32:
811
811
  str backend:Literal["mpfree", "2pac"]="mpfree",
812
812
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
813
813
  bool vineyard=True,
814
- id :Optional[str] = None,
815
814
  dtype = np.int32,
816
815
  **minpres_kwargs
817
816
  )->Slicer_type:
@@ -819,7 +818,7 @@ cdef class _KSlicer_Matrix0_vine_i32:
819
818
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
820
819
  See :func:`multipers.slicer.minimal_presentation`.
821
820
  """
822
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
821
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
823
822
  return new_slicer
824
823
 
825
824
  @property
@@ -1313,7 +1312,6 @@ cdef class _KSlicer_Matrix1_vine_i32:
1313
1312
  str backend:Literal["mpfree", "2pac"]="mpfree",
1314
1313
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
1315
1314
  bool vineyard=True,
1316
- id :Optional[str] = None,
1317
1315
  dtype = np.int32,
1318
1316
  **minpres_kwargs
1319
1317
  )->Slicer_type:
@@ -1321,7 +1319,7 @@ cdef class _KSlicer_Matrix1_vine_i32:
1321
1319
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
1322
1320
  See :func:`multipers.slicer.minimal_presentation`.
1323
1321
  """
1324
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
1322
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
1325
1323
  return new_slicer
1326
1324
 
1327
1325
  @property
@@ -1815,7 +1813,6 @@ cdef class _KSlicer_Matrix0_vine_i64:
1815
1813
  str backend:Literal["mpfree", "2pac"]="mpfree",
1816
1814
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
1817
1815
  bool vineyard=True,
1818
- id :Optional[str] = None,
1819
1816
  dtype = np.int64,
1820
1817
  **minpres_kwargs
1821
1818
  )->Slicer_type:
@@ -1823,7 +1820,7 @@ cdef class _KSlicer_Matrix0_vine_i64:
1823
1820
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
1824
1821
  See :func:`multipers.slicer.minimal_presentation`.
1825
1822
  """
1826
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
1823
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
1827
1824
  return new_slicer
1828
1825
 
1829
1826
  @property
@@ -2317,7 +2314,6 @@ cdef class _KSlicer_Matrix1_vine_i64:
2317
2314
  str backend:Literal["mpfree", "2pac"]="mpfree",
2318
2315
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
2319
2316
  bool vineyard=True,
2320
- id :Optional[str] = None,
2321
2317
  dtype = np.int64,
2322
2318
  **minpres_kwargs
2323
2319
  )->Slicer_type:
@@ -2325,7 +2321,7 @@ cdef class _KSlicer_Matrix1_vine_i64:
2325
2321
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
2326
2322
  See :func:`multipers.slicer.minimal_presentation`.
2327
2323
  """
2328
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
2324
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
2329
2325
  return new_slicer
2330
2326
 
2331
2327
  @property
@@ -2816,7 +2812,6 @@ cdef class _KSlicer_Matrix0_vine_f32:
2816
2812
  str backend:Literal["mpfree", "2pac"]="mpfree",
2817
2813
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
2818
2814
  bool vineyard=True,
2819
- id :Optional[str] = None,
2820
2815
  dtype = np.float32,
2821
2816
  **minpres_kwargs
2822
2817
  )->Slicer_type:
@@ -2824,7 +2819,7 @@ cdef class _KSlicer_Matrix0_vine_f32:
2824
2819
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
2825
2820
  See :func:`multipers.slicer.minimal_presentation`.
2826
2821
  """
2827
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
2822
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
2828
2823
  return new_slicer
2829
2824
 
2830
2825
  @property
@@ -3315,7 +3310,6 @@ cdef class _KSlicer_Matrix1_vine_f32:
3315
3310
  str backend:Literal["mpfree", "2pac"]="mpfree",
3316
3311
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
3317
3312
  bool vineyard=True,
3318
- id :Optional[str] = None,
3319
3313
  dtype = np.float32,
3320
3314
  **minpres_kwargs
3321
3315
  )->Slicer_type:
@@ -3323,7 +3317,7 @@ cdef class _KSlicer_Matrix1_vine_f32:
3323
3317
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
3324
3318
  See :func:`multipers.slicer.minimal_presentation`.
3325
3319
  """
3326
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
3320
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
3327
3321
  return new_slicer
3328
3322
 
3329
3323
  @property
@@ -3814,7 +3808,6 @@ cdef class _KSlicer_Matrix0_vine_f64:
3814
3808
  str backend:Literal["mpfree", "2pac"]="mpfree",
3815
3809
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
3816
3810
  bool vineyard=True,
3817
- id :Optional[str] = None,
3818
3811
  dtype = np.float64,
3819
3812
  **minpres_kwargs
3820
3813
  )->Slicer_type:
@@ -3822,7 +3815,7 @@ cdef class _KSlicer_Matrix0_vine_f64:
3822
3815
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
3823
3816
  See :func:`multipers.slicer.minimal_presentation`.
3824
3817
  """
3825
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
3818
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
3826
3819
  return new_slicer
3827
3820
 
3828
3821
  @property
@@ -4313,7 +4306,6 @@ cdef class _KSlicer_Matrix1_vine_f64:
4313
4306
  str backend:Literal["mpfree", "2pac"]="mpfree",
4314
4307
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
4315
4308
  bool vineyard=True,
4316
- id :Optional[str] = None,
4317
4309
  dtype = np.float64,
4318
4310
  **minpres_kwargs
4319
4311
  )->Slicer_type:
@@ -4321,7 +4313,7 @@ cdef class _KSlicer_Matrix1_vine_f64:
4321
4313
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
4322
4314
  See :func:`multipers.slicer.minimal_presentation`.
4323
4315
  """
4324
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
4316
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
4325
4317
  return new_slicer
4326
4318
 
4327
4319
  @property
@@ -4835,7 +4827,6 @@ cdef class _Slicer_Matrix0_vine_i32:
4835
4827
  str backend:Literal["mpfree", "2pac"]="mpfree",
4836
4828
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
4837
4829
  bool vineyard=True,
4838
- id :Optional[str] = None,
4839
4830
  dtype = np.int32,
4840
4831
  **minpres_kwargs
4841
4832
  )->Slicer_type:
@@ -4843,7 +4834,7 @@ cdef class _Slicer_Matrix0_vine_i32:
4843
4834
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
4844
4835
  See :func:`multipers.slicer.minimal_presentation`.
4845
4836
  """
4846
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
4837
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
4847
4838
  return new_slicer
4848
4839
 
4849
4840
  @property
@@ -5377,7 +5368,6 @@ cdef class _Slicer_Matrix1_vine_i32:
5377
5368
  str backend:Literal["mpfree", "2pac"]="mpfree",
5378
5369
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
5379
5370
  bool vineyard=True,
5380
- id :Optional[str] = None,
5381
5371
  dtype = np.int32,
5382
5372
  **minpres_kwargs
5383
5373
  )->Slicer_type:
@@ -5385,7 +5375,7 @@ cdef class _Slicer_Matrix1_vine_i32:
5385
5375
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
5386
5376
  See :func:`multipers.slicer.minimal_presentation`.
5387
5377
  """
5388
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
5378
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
5389
5379
  return new_slicer
5390
5380
 
5391
5381
  @property
@@ -5919,7 +5909,6 @@ cdef class _Slicer_Matrix0_vine_i64:
5919
5909
  str backend:Literal["mpfree", "2pac"]="mpfree",
5920
5910
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
5921
5911
  bool vineyard=True,
5922
- id :Optional[str] = None,
5923
5912
  dtype = np.int64,
5924
5913
  **minpres_kwargs
5925
5914
  )->Slicer_type:
@@ -5927,7 +5916,7 @@ cdef class _Slicer_Matrix0_vine_i64:
5927
5916
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
5928
5917
  See :func:`multipers.slicer.minimal_presentation`.
5929
5918
  """
5930
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
5919
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
5931
5920
  return new_slicer
5932
5921
 
5933
5922
  @property
@@ -6461,7 +6450,6 @@ cdef class _Slicer_Matrix1_vine_i64:
6461
6450
  str backend:Literal["mpfree", "2pac"]="mpfree",
6462
6451
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
6463
6452
  bool vineyard=True,
6464
- id :Optional[str] = None,
6465
6453
  dtype = np.int64,
6466
6454
  **minpres_kwargs
6467
6455
  )->Slicer_type:
@@ -6469,7 +6457,7 @@ cdef class _Slicer_Matrix1_vine_i64:
6469
6457
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
6470
6458
  See :func:`multipers.slicer.minimal_presentation`.
6471
6459
  """
6472
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
6460
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
6473
6461
  return new_slicer
6474
6462
 
6475
6463
  @property
@@ -7000,7 +6988,6 @@ cdef class _Slicer_Matrix0_vine_f32:
7000
6988
  str backend:Literal["mpfree", "2pac"]="mpfree",
7001
6989
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
7002
6990
  bool vineyard=True,
7003
- id :Optional[str] = None,
7004
6991
  dtype = np.float32,
7005
6992
  **minpres_kwargs
7006
6993
  )->Slicer_type:
@@ -7008,7 +6995,7 @@ cdef class _Slicer_Matrix0_vine_f32:
7008
6995
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
7009
6996
  See :func:`multipers.slicer.minimal_presentation`.
7010
6997
  """
7011
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
6998
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
7012
6999
  return new_slicer
7013
7000
 
7014
7001
  @property
@@ -7539,7 +7526,6 @@ cdef class _Slicer_Matrix1_vine_f32:
7539
7526
  str backend:Literal["mpfree", "2pac"]="mpfree",
7540
7527
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
7541
7528
  bool vineyard=True,
7542
- id :Optional[str] = None,
7543
7529
  dtype = np.float32,
7544
7530
  **minpres_kwargs
7545
7531
  )->Slicer_type:
@@ -7547,7 +7533,7 @@ cdef class _Slicer_Matrix1_vine_f32:
7547
7533
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
7548
7534
  See :func:`multipers.slicer.minimal_presentation`.
7549
7535
  """
7550
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
7536
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
7551
7537
  return new_slicer
7552
7538
 
7553
7539
  @property
@@ -8078,7 +8064,6 @@ cdef class _Slicer_Matrix0_vine_f64:
8078
8064
  str backend:Literal["mpfree", "2pac"]="mpfree",
8079
8065
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
8080
8066
  bool vineyard=True,
8081
- id :Optional[str] = None,
8082
8067
  dtype = np.float64,
8083
8068
  **minpres_kwargs
8084
8069
  )->Slicer_type:
@@ -8086,7 +8071,7 @@ cdef class _Slicer_Matrix0_vine_f64:
8086
8071
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
8087
8072
  See :func:`multipers.slicer.minimal_presentation`.
8088
8073
  """
8089
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
8074
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
8090
8075
  return new_slicer
8091
8076
 
8092
8077
  @property
@@ -8617,7 +8602,6 @@ cdef class _Slicer_Matrix1_vine_f64:
8617
8602
  str backend:Literal["mpfree", "2pac"]="mpfree",
8618
8603
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
8619
8604
  bool vineyard=True,
8620
- id :Optional[str] = None,
8621
8605
  dtype = np.float64,
8622
8606
  **minpres_kwargs
8623
8607
  )->Slicer_type:
@@ -8625,7 +8609,7 @@ cdef class _Slicer_Matrix1_vine_f64:
8625
8609
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
8626
8610
  See :func:`multipers.slicer.minimal_presentation`.
8627
8611
  """
8628
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
8612
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
8629
8613
  return new_slicer
8630
8614
 
8631
8615
  @property
@@ -9139,7 +9123,6 @@ cdef class _KSlicer_Matrix0_i32:
9139
9123
  str backend:Literal["mpfree", "2pac"]="mpfree",
9140
9124
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
9141
9125
  bool vineyard=False,
9142
- id :Optional[str] = None,
9143
9126
  dtype = np.int32,
9144
9127
  **minpres_kwargs
9145
9128
  )->Slicer_type:
@@ -9147,7 +9130,7 @@ cdef class _KSlicer_Matrix0_i32:
9147
9130
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
9148
9131
  See :func:`multipers.slicer.minimal_presentation`.
9149
9132
  """
9150
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
9133
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
9151
9134
  return new_slicer
9152
9135
 
9153
9136
  @property
@@ -9623,7 +9606,6 @@ cdef class _KSlicer_Matrix1_i32:
9623
9606
  str backend:Literal["mpfree", "2pac"]="mpfree",
9624
9607
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
9625
9608
  bool vineyard=False,
9626
- id :Optional[str] = None,
9627
9609
  dtype = np.int32,
9628
9610
  **minpres_kwargs
9629
9611
  )->Slicer_type:
@@ -9631,7 +9613,7 @@ cdef class _KSlicer_Matrix1_i32:
9631
9613
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
9632
9614
  See :func:`multipers.slicer.minimal_presentation`.
9633
9615
  """
9634
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
9616
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
9635
9617
  return new_slicer
9636
9618
 
9637
9619
  @property
@@ -10107,7 +10089,6 @@ cdef class _KSlicer_Matrix0_i64:
10107
10089
  str backend:Literal["mpfree", "2pac"]="mpfree",
10108
10090
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
10109
10091
  bool vineyard=False,
10110
- id :Optional[str] = None,
10111
10092
  dtype = np.int64,
10112
10093
  **minpres_kwargs
10113
10094
  )->Slicer_type:
@@ -10115,7 +10096,7 @@ cdef class _KSlicer_Matrix0_i64:
10115
10096
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
10116
10097
  See :func:`multipers.slicer.minimal_presentation`.
10117
10098
  """
10118
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
10099
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
10119
10100
  return new_slicer
10120
10101
 
10121
10102
  @property
@@ -10591,7 +10572,6 @@ cdef class _KSlicer_Matrix1_i64:
10591
10572
  str backend:Literal["mpfree", "2pac"]="mpfree",
10592
10573
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
10593
10574
  bool vineyard=False,
10594
- id :Optional[str] = None,
10595
10575
  dtype = np.int64,
10596
10576
  **minpres_kwargs
10597
10577
  )->Slicer_type:
@@ -10599,7 +10579,7 @@ cdef class _KSlicer_Matrix1_i64:
10599
10579
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
10600
10580
  See :func:`multipers.slicer.minimal_presentation`.
10601
10581
  """
10602
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
10582
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
10603
10583
  return new_slicer
10604
10584
 
10605
10585
  @property
@@ -11072,7 +11052,6 @@ cdef class _KSlicer_Matrix0_f32:
11072
11052
  str backend:Literal["mpfree", "2pac"]="mpfree",
11073
11053
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
11074
11054
  bool vineyard=False,
11075
- id :Optional[str] = None,
11076
11055
  dtype = np.float32,
11077
11056
  **minpres_kwargs
11078
11057
  )->Slicer_type:
@@ -11080,7 +11059,7 @@ cdef class _KSlicer_Matrix0_f32:
11080
11059
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
11081
11060
  See :func:`multipers.slicer.minimal_presentation`.
11082
11061
  """
11083
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
11062
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
11084
11063
  return new_slicer
11085
11064
 
11086
11065
  @property
@@ -11553,7 +11532,6 @@ cdef class _KSlicer_Matrix1_f32:
11553
11532
  str backend:Literal["mpfree", "2pac"]="mpfree",
11554
11533
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
11555
11534
  bool vineyard=False,
11556
- id :Optional[str] = None,
11557
11535
  dtype = np.float32,
11558
11536
  **minpres_kwargs
11559
11537
  )->Slicer_type:
@@ -11561,7 +11539,7 @@ cdef class _KSlicer_Matrix1_f32:
11561
11539
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
11562
11540
  See :func:`multipers.slicer.minimal_presentation`.
11563
11541
  """
11564
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
11542
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
11565
11543
  return new_slicer
11566
11544
 
11567
11545
  @property
@@ -12034,7 +12012,6 @@ cdef class _KSlicer_Matrix0_f64:
12034
12012
  str backend:Literal["mpfree", "2pac"]="mpfree",
12035
12013
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
12036
12014
  bool vineyard=False,
12037
- id :Optional[str] = None,
12038
12015
  dtype = np.float64,
12039
12016
  **minpres_kwargs
12040
12017
  )->Slicer_type:
@@ -12042,7 +12019,7 @@ cdef class _KSlicer_Matrix0_f64:
12042
12019
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
12043
12020
  See :func:`multipers.slicer.minimal_presentation`.
12044
12021
  """
12045
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
12022
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
12046
12023
  return new_slicer
12047
12024
 
12048
12025
  @property
@@ -12515,7 +12492,6 @@ cdef class _KSlicer_Matrix1_f64:
12515
12492
  str backend:Literal["mpfree", "2pac"]="mpfree",
12516
12493
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
12517
12494
  bool vineyard=False,
12518
- id :Optional[str] = None,
12519
12495
  dtype = np.float64,
12520
12496
  **minpres_kwargs
12521
12497
  )->Slicer_type:
@@ -12523,7 +12499,7 @@ cdef class _KSlicer_Matrix1_f64:
12523
12499
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
12524
12500
  See :func:`multipers.slicer.minimal_presentation`.
12525
12501
  """
12526
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
12502
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
12527
12503
  return new_slicer
12528
12504
 
12529
12505
  @property
@@ -13019,7 +12995,6 @@ cdef class _Slicer_Matrix0_i32:
13019
12995
  str backend:Literal["mpfree", "2pac"]="mpfree",
13020
12996
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
13021
12997
  bool vineyard=False,
13022
- id :Optional[str] = None,
13023
12998
  dtype = np.int32,
13024
12999
  **minpres_kwargs
13025
13000
  )->Slicer_type:
@@ -13027,7 +13002,7 @@ cdef class _Slicer_Matrix0_i32:
13027
13002
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
13028
13003
  See :func:`multipers.slicer.minimal_presentation`.
13029
13004
  """
13030
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
13005
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
13031
13006
  return new_slicer
13032
13007
 
13033
13008
  @property
@@ -13543,7 +13518,6 @@ cdef class _Slicer_Matrix1_i32:
13543
13518
  str backend:Literal["mpfree", "2pac"]="mpfree",
13544
13519
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
13545
13520
  bool vineyard=False,
13546
- id :Optional[str] = None,
13547
13521
  dtype = np.int32,
13548
13522
  **minpres_kwargs
13549
13523
  )->Slicer_type:
@@ -13551,7 +13525,7 @@ cdef class _Slicer_Matrix1_i32:
13551
13525
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
13552
13526
  See :func:`multipers.slicer.minimal_presentation`.
13553
13527
  """
13554
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
13528
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
13555
13529
  return new_slicer
13556
13530
 
13557
13531
  @property
@@ -14067,7 +14041,6 @@ cdef class _Slicer_Matrix0_i64:
14067
14041
  str backend:Literal["mpfree", "2pac"]="mpfree",
14068
14042
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
14069
14043
  bool vineyard=False,
14070
- id :Optional[str] = None,
14071
14044
  dtype = np.int64,
14072
14045
  **minpres_kwargs
14073
14046
  )->Slicer_type:
@@ -14075,7 +14048,7 @@ cdef class _Slicer_Matrix0_i64:
14075
14048
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
14076
14049
  See :func:`multipers.slicer.minimal_presentation`.
14077
14050
  """
14078
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
14051
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
14079
14052
  return new_slicer
14080
14053
 
14081
14054
  @property
@@ -14591,7 +14564,6 @@ cdef class _Slicer_Matrix1_i64:
14591
14564
  str backend:Literal["mpfree", "2pac"]="mpfree",
14592
14565
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
14593
14566
  bool vineyard=False,
14594
- id :Optional[str] = None,
14595
14567
  dtype = np.int64,
14596
14568
  **minpres_kwargs
14597
14569
  )->Slicer_type:
@@ -14599,7 +14571,7 @@ cdef class _Slicer_Matrix1_i64:
14599
14571
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
14600
14572
  See :func:`multipers.slicer.minimal_presentation`.
14601
14573
  """
14602
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
14574
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
14603
14575
  return new_slicer
14604
14576
 
14605
14577
  @property
@@ -15112,7 +15084,6 @@ cdef class _Slicer_Matrix0_f32:
15112
15084
  str backend:Literal["mpfree", "2pac"]="mpfree",
15113
15085
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
15114
15086
  bool vineyard=False,
15115
- id :Optional[str] = None,
15116
15087
  dtype = np.float32,
15117
15088
  **minpres_kwargs
15118
15089
  )->Slicer_type:
@@ -15120,7 +15091,7 @@ cdef class _Slicer_Matrix0_f32:
15120
15091
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
15121
15092
  See :func:`multipers.slicer.minimal_presentation`.
15122
15093
  """
15123
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
15094
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
15124
15095
  return new_slicer
15125
15096
 
15126
15097
  @property
@@ -15633,7 +15604,6 @@ cdef class _Slicer_Matrix1_f32:
15633
15604
  str backend:Literal["mpfree", "2pac"]="mpfree",
15634
15605
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
15635
15606
  bool vineyard=False,
15636
- id :Optional[str] = None,
15637
15607
  dtype = np.float32,
15638
15608
  **minpres_kwargs
15639
15609
  )->Slicer_type:
@@ -15641,7 +15611,7 @@ cdef class _Slicer_Matrix1_f32:
15641
15611
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
15642
15612
  See :func:`multipers.slicer.minimal_presentation`.
15643
15613
  """
15644
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
15614
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
15645
15615
  return new_slicer
15646
15616
 
15647
15617
  @property
@@ -16154,7 +16124,6 @@ cdef class _Slicer_Matrix0_f64:
16154
16124
  str backend:Literal["mpfree", "2pac"]="mpfree",
16155
16125
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
16156
16126
  bool vineyard=False,
16157
- id :Optional[str] = None,
16158
16127
  dtype = np.float64,
16159
16128
  **minpres_kwargs
16160
16129
  )->Slicer_type:
@@ -16162,7 +16131,7 @@ cdef class _Slicer_Matrix0_f64:
16162
16131
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
16163
16132
  See :func:`multipers.slicer.minimal_presentation`.
16164
16133
  """
16165
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
16134
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
16166
16135
  return new_slicer
16167
16136
 
16168
16137
  @property
@@ -16675,7 +16644,6 @@ cdef class _Slicer_Matrix1_f64:
16675
16644
  str backend:Literal["mpfree", "2pac"]="mpfree",
16676
16645
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
16677
16646
  bool vineyard=False,
16678
- id :Optional[str] = None,
16679
16647
  dtype = np.float64,
16680
16648
  **minpres_kwargs
16681
16649
  )->Slicer_type:
@@ -16683,7 +16651,7 @@ cdef class _Slicer_Matrix1_f64:
16683
16651
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
16684
16652
  See :func:`multipers.slicer.minimal_presentation`.
16685
16653
  """
16686
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
16654
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
16687
16655
  return new_slicer
16688
16656
 
16689
16657
  @property
@@ -17179,7 +17147,6 @@ cdef class _KSlicer_GudhiCohomology0_i32:
17179
17147
  str backend:Literal["mpfree", "2pac"]="mpfree",
17180
17148
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
17181
17149
  bool vineyard=False,
17182
- id :Optional[str] = None,
17183
17150
  dtype = np.int32,
17184
17151
  **minpres_kwargs
17185
17152
  )->Slicer_type:
@@ -17187,7 +17154,7 @@ cdef class _KSlicer_GudhiCohomology0_i32:
17187
17154
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
17188
17155
  See :func:`multipers.slicer.minimal_presentation`.
17189
17156
  """
17190
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
17157
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
17191
17158
  return new_slicer
17192
17159
 
17193
17160
  @property
@@ -17663,7 +17630,6 @@ cdef class _KSlicer_GudhiCohomology0_i64:
17663
17630
  str backend:Literal["mpfree", "2pac"]="mpfree",
17664
17631
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
17665
17632
  bool vineyard=False,
17666
- id :Optional[str] = None,
17667
17633
  dtype = np.int64,
17668
17634
  **minpres_kwargs
17669
17635
  )->Slicer_type:
@@ -17671,7 +17637,7 @@ cdef class _KSlicer_GudhiCohomology0_i64:
17671
17637
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
17672
17638
  See :func:`multipers.slicer.minimal_presentation`.
17673
17639
  """
17674
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
17640
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
17675
17641
  return new_slicer
17676
17642
 
17677
17643
  @property
@@ -18144,7 +18110,6 @@ cdef class _KSlicer_GudhiCohomology0_f32:
18144
18110
  str backend:Literal["mpfree", "2pac"]="mpfree",
18145
18111
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
18146
18112
  bool vineyard=False,
18147
- id :Optional[str] = None,
18148
18113
  dtype = np.float32,
18149
18114
  **minpres_kwargs
18150
18115
  )->Slicer_type:
@@ -18152,7 +18117,7 @@ cdef class _KSlicer_GudhiCohomology0_f32:
18152
18117
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
18153
18118
  See :func:`multipers.slicer.minimal_presentation`.
18154
18119
  """
18155
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
18120
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
18156
18121
  return new_slicer
18157
18122
 
18158
18123
  @property
@@ -18625,7 +18590,6 @@ cdef class _KSlicer_GudhiCohomology0_f64:
18625
18590
  str backend:Literal["mpfree", "2pac"]="mpfree",
18626
18591
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
18627
18592
  bool vineyard=False,
18628
- id :Optional[str] = None,
18629
18593
  dtype = np.float64,
18630
18594
  **minpres_kwargs
18631
18595
  )->Slicer_type:
@@ -18633,7 +18597,7 @@ cdef class _KSlicer_GudhiCohomology0_f64:
18633
18597
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
18634
18598
  See :func:`multipers.slicer.minimal_presentation`.
18635
18599
  """
18636
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
18600
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
18637
18601
  return new_slicer
18638
18602
 
18639
18603
  @property
@@ -19129,7 +19093,6 @@ cdef class _Slicer_GudhiCohomology0_i32:
19129
19093
  str backend:Literal["mpfree", "2pac"]="mpfree",
19130
19094
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
19131
19095
  bool vineyard=False,
19132
- id :Optional[str] = None,
19133
19096
  dtype = np.int32,
19134
19097
  **minpres_kwargs
19135
19098
  )->Slicer_type:
@@ -19137,7 +19100,7 @@ cdef class _Slicer_GudhiCohomology0_i32:
19137
19100
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
19138
19101
  See :func:`multipers.slicer.minimal_presentation`.
19139
19102
  """
19140
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
19103
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
19141
19104
  return new_slicer
19142
19105
 
19143
19106
  @property
@@ -19653,7 +19616,6 @@ cdef class _Slicer_GudhiCohomology0_i64:
19653
19616
  str backend:Literal["mpfree", "2pac"]="mpfree",
19654
19617
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
19655
19618
  bool vineyard=False,
19656
- id :Optional[str] = None,
19657
19619
  dtype = np.int64,
19658
19620
  **minpres_kwargs
19659
19621
  )->Slicer_type:
@@ -19661,7 +19623,7 @@ cdef class _Slicer_GudhiCohomology0_i64:
19661
19623
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
19662
19624
  See :func:`multipers.slicer.minimal_presentation`.
19663
19625
  """
19664
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
19626
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
19665
19627
  return new_slicer
19666
19628
 
19667
19629
  @property
@@ -20174,7 +20136,6 @@ cdef class _Slicer_GudhiCohomology0_f32:
20174
20136
  str backend:Literal["mpfree", "2pac"]="mpfree",
20175
20137
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
20176
20138
  bool vineyard=False,
20177
- id :Optional[str] = None,
20178
20139
  dtype = np.float32,
20179
20140
  **minpres_kwargs
20180
20141
  )->Slicer_type:
@@ -20182,7 +20143,7 @@ cdef class _Slicer_GudhiCohomology0_f32:
20182
20143
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
20183
20144
  See :func:`multipers.slicer.minimal_presentation`.
20184
20145
  """
20185
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
20146
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
20186
20147
  return new_slicer
20187
20148
 
20188
20149
  @property
@@ -20695,7 +20656,6 @@ cdef class _Slicer_GudhiCohomology0_f64:
20695
20656
  str backend:Literal["mpfree", "2pac"]="mpfree",
20696
20657
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
20697
20658
  bool vineyard=False,
20698
- id :Optional[str] = None,
20699
20659
  dtype = np.float64,
20700
20660
  **minpres_kwargs
20701
20661
  )->Slicer_type:
@@ -20703,7 +20663,7 @@ cdef class _Slicer_GudhiCohomology0_f64:
20703
20663
  Computes the minimal presentation of the slicer, and returns it as a new slicer.
20704
20664
  See :func:`multipers.slicer.minimal_presentation`.
20705
20665
  """
20706
- new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, id=id, **minpres_kwargs)
20666
+ new_slicer = minimal_presentation(self, degree=degree, degrees=degrees, backend=backend, slicer_backend=slicer_backend, dtype=dtype, vineyard=vineyard, **minpres_kwargs)
20707
20667
  return new_slicer
20708
20668
 
20709
20669
  @property
@@ -20777,7 +20737,7 @@ cdef extern from "gudhi/cubical_to_boundary.h" namespace "":
20777
20737
  void _to_boundary(const vector[unsigned int]&, vector[vector[unsigned int]]&, vector[int]&) except + nogil
20778
20738
  void get_vertices(unsigned int, cset[unsigned int]&, const vector[vector[unsigned int]]&) nogil
20779
20739
 
20780
- def _from_bitmapf64(image, **slicer_kwargs):
20740
+ def _from_bitmapi64(image, **slicer_kwargs):
20781
20741
  from multipers import Slicer
20782
20742
  dtype = slicer_kwargs.get("dtype", image.dtype)
20783
20743
  slicer_kwargs["dtype"] = dtype
@@ -20795,9 +20755,9 @@ def _from_bitmapf64(image, **slicer_kwargs):
20795
20755
  cdef cset[unsigned int] vertices
20796
20756
 
20797
20757
  cdef unsigned int num_gens = gen_dims.size()
20798
- filtration_values = np.zeros(shape=(num_gens, num_parameters), dtype = np.float64) - _Slicer._inf_value()
20799
- cdef double[:,:] F = filtration_values
20800
- cdef double[:,:] c_img = image.reshape(-1,num_parameters)
20758
+ filtration_values = np.zeros(shape=(num_gens, num_parameters), dtype = np.int64) - _Slicer._inf_value()
20759
+ cdef int64_t[:,:] F = filtration_values
20760
+ cdef int64_t[:,:] c_img = image.reshape(-1,num_parameters)
20801
20761
  with nogil:
20802
20762
  for i in range(num_gens):
20803
20763
  # with gil:
@@ -20853,7 +20813,7 @@ def _from_bitmapf32(image, **slicer_kwargs):
20853
20813
  # print(f"F = {np.asarray(F[i])}")
20854
20814
  slicer = _Slicer(gen_maps, gen_dims, filtration_values)
20855
20815
  return slicer
20856
- def _from_bitmapi64(image, **slicer_kwargs):
20816
+ def _from_bitmapf64(image, **slicer_kwargs):
20857
20817
  from multipers import Slicer
20858
20818
  dtype = slicer_kwargs.get("dtype", image.dtype)
20859
20819
  slicer_kwargs["dtype"] = dtype
@@ -20871,9 +20831,9 @@ def _from_bitmapi64(image, **slicer_kwargs):
20871
20831
  cdef cset[unsigned int] vertices
20872
20832
 
20873
20833
  cdef unsigned int num_gens = gen_dims.size()
20874
- filtration_values = np.zeros(shape=(num_gens, num_parameters), dtype = np.int64) - _Slicer._inf_value()
20875
- cdef int64_t[:,:] F = filtration_values
20876
- cdef int64_t[:,:] c_img = image.reshape(-1,num_parameters)
20834
+ filtration_values = np.zeros(shape=(num_gens, num_parameters), dtype = np.float64) - _Slicer._inf_value()
20835
+ cdef double[:,:] F = filtration_values
20836
+ cdef double[:,:] c_img = image.reshape(-1,num_parameters)
20877
20837
  with nogil:
20878
20838
  for i in range(num_gens):
20879
20839
  # with gil:
@@ -20932,12 +20892,12 @@ def _from_bitmapi32(image, **slicer_kwargs):
20932
20892
 
20933
20893
  def from_bitmap(img, **kwargs):
20934
20894
  img = np.asarray(img)
20935
- if img.dtype == np.float64:
20936
- return _from_bitmapf64(img, **kwargs)
20937
- if img.dtype == np.float32:
20938
- return _from_bitmapf32(img, **kwargs)
20939
20895
  if img.dtype == np.int64:
20940
20896
  return _from_bitmapi64(img, **kwargs)
20897
+ if img.dtype == np.float32:
20898
+ return _from_bitmapf32(img, **kwargs)
20899
+ if img.dtype == np.float64:
20900
+ return _from_bitmapf64(img, **kwargs)
20941
20901
  if img.dtype == np.int32:
20942
20902
  return _from_bitmapi32(img, **kwargs)
20943
20903
  raise ValueError(f"Invalid dtype. Got {img.dtype=}, was expecting {available_dtype=}.")
@@ -20998,7 +20958,6 @@ def minimal_presentation(
20998
20958
  str backend:Literal["mpfree", "2pac", ""]="mpfree",
20999
20959
  str slicer_backend:Literal["matrix","clement","graph"]="matrix",
21000
20960
  bool vineyard=True,
21001
- id :Optional[str] =None,
21002
20961
  dtype:type|_valid_dtypes=None,
21003
20962
  int n_jobs = -1,
21004
20963
  bool force=False,
@@ -21010,7 +20969,8 @@ def minimal_presentation(
21010
20969
  and returns it as a slicer.
21011
20970
  Backends differents than `mpfree` are unstable.
21012
20971
  """
21013
- from multipers.io import _init_external_softwares, input_path, scc_reduce_from_str_to_slicer
20972
+ from multipers.io import _init_external_softwares, scc_reduce_from_str_to_slicer
20973
+ import tempfile
21014
20974
  if is_slicer(slicer) and slicer.is_minpres and not force:
21015
20975
  from warnings import warn
21016
20976
  warn(f"(unnecessary computation) The slicer seems to be already reduced, from homology of degree {slicer.minpres_degree}.")
@@ -21026,24 +20986,24 @@ def minimal_presentation(
21026
20986
  assert degree>=0, f"Degree not provided."
21027
20987
  if not np.any(slicer.get_dimensions() == degree):
21028
20988
  return type(slicer)()
21029
- if id is None:
21030
- id = str(threading.get_native_id())
21031
20989
  if dtype is None:
21032
20990
  dtype = slicer.dtype
21033
20991
  dimension = slicer.dimension - degree # latest = L-1, which is empty, -1 for degree 0, -2 for degree 1 etc.
21034
- slicer.to_scc(path=input_path+id, strip_comments=True, degree=degree-1, unsqueeze = False)
21035
- new_slicer = multipers.Slicer(None,backend=slicer_backend, vineyard=vineyard, dtype=dtype)
21036
- if backend=="mpfree":
21037
- shift_dimension=degree-1
21038
- else:
21039
- shift_dimension=degree
21040
- scc_reduce_from_str_to_slicer(path=input_path+id, slicer=new_slicer, dimension=dimension, backend=backend, shift_dimension=shift_dimension, **minpres_kwargs)
21041
-
21042
- new_slicer.minpres_degree = degree
21043
- new_slicer.filtration_grid = slicer.filtration_grid if slicer.is_squeezed else None
21044
- if new_slicer.is_squeezed and auto_clean:
21045
- new_slicer = new_slicer._clean_filtration_grid()
21046
- return new_slicer
20992
+ with tempfile.TemporaryDirectory(prefix="multipers") as tmpdir:
20993
+ tmp_path = os.path.join(tmpdir, "multipers.scc")
20994
+ slicer.to_scc(path=tmp_path, strip_comments=True, degree=degree-1, unsqueeze = False)
20995
+ new_slicer = multipers.Slicer(None,backend=slicer_backend, vineyard=vineyard, dtype=dtype)
20996
+ if backend=="mpfree":
20997
+ shift_dimension=degree-1
20998
+ else:
20999
+ shift_dimension=degree
21000
+ scc_reduce_from_str_to_slicer(path=tmp_path, slicer=new_slicer, dimension=dimension, backend=backend, shift_dimension=shift_dimension, **minpres_kwargs)
21001
+
21002
+ new_slicer.minpres_degree = degree
21003
+ new_slicer.filtration_grid = slicer.filtration_grid if slicer.is_squeezed else None
21004
+ if new_slicer.is_squeezed and auto_clean:
21005
+ new_slicer = new_slicer._clean_filtration_grid()
21006
+ return new_slicer
21047
21007
 
21048
21008
 
21049
21009
  def to_simplextree(s:Slicer_type, max_dim:int=-1) -> SimplexTreeMulti_type: