pyCLINE 0.1.7__py3-none-any.whl → 0.1.8__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.
@@ -201,12 +201,12 @@ def prepare_data(df, vars, time, tmin=None, tmax=None, scheme='newton_difference
201
201
  raise ValueError("Unknown scheme: {:}".format(scheme))
202
202
 
203
203
  # slice the data in the range [tmin; tmax] if needed
204
- if ((tmin is None) or (tmax is None)):
205
- if tmin is None:
206
- tmin = df[time].min()
207
- if tmax is None:
208
- tmax = df[time].max()
209
- df_slice = df[(df[time]>=tmin) & (df[time]<=tmax)].copy()
204
+ # if ((tmin is None) or (tmax is None)):
205
+ if tmin is None:
206
+ tmin = df[time].min()
207
+ if tmax is None:
208
+ tmax = df[time].max()
209
+ df_slice = df[(df[time]>=tmin) & (df[time]<=tmax)].copy()
210
210
 
211
211
  # min-max normalization of each variable in the range [value_min; value_max]
212
212
  if normalize:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pyCLINE
3
- Version: 0.1.7
3
+ Version: 0.1.8
4
4
  Summary: This package is the python implementation of the CLINE method introduced by Prokop, Billen, Frolov, Gelens (2025).
5
5
  Author-email: Bartosz Prokop <bartosz.prokop@kuleuven.be>, Nikita Frolov <nikita.frolov@kuleuven.be>, Lendert Gelens <lendert.gelens@kuleuven.be>
6
6
  Project-URL: Homepage, https://pycline-ec8369.pages.gitlab.kuleuven.be/
@@ -3,10 +3,10 @@ pyCLINE/example.py,sha256=pU-5tT7MA3qlygbsa-_CsjfZRUH5A66mJV7-lDMMP6c,8300
3
3
  pyCLINE/generate_data.py,sha256=mQd5e-qyRv3iDecrYrPELOkR_JtMwxBaC_hBzf7Ddho,3642
4
4
  pyCLINE/model.py,sha256=Qq5sQd7bXmI7efoN_IidWjfHAB--ZskEzGDkZYKsE38,35337
5
5
  pyCLINE/recovery_methods/__init__.py,sha256=MQ9ZF_SVZNBJkZ0cyM5zXimiug9yu42lHBCnOMYw080,488
6
- pyCLINE/recovery_methods/data_preparation.py,sha256=59DBwMhfkEmi3icb21smugCbhs99syUpAYAuwPQZ6u4,19708
6
+ pyCLINE/recovery_methods/data_preparation.py,sha256=4XDV-Rc0NpA3f10NlRRhGV7IfhSbZBeepySAMgaxcuo,19690
7
7
  pyCLINE/recovery_methods/nn_training.py,sha256=i8OeY72UcdGYmI_cloKnK2uqvaxLGUtMqT56-MgFVx8,20357
8
- pycline-0.1.7.dist-info/LICENSE,sha256=6XV86fklwr93DuwtgX05Jg3n25_0c726oBhoSMn1aoc,1245
9
- pycline-0.1.7.dist-info/METADATA,sha256=pxAt1XNClFORBZYPhZcHu-QuoY6bSYMVJ_FWPeQlwxQ,2245
10
- pycline-0.1.7.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
11
- pycline-0.1.7.dist-info/top_level.txt,sha256=w0zzQfaPH2RNTWfJ_lsPf-EbkvT6m3quM69exCTMBvU,8
12
- pycline-0.1.7.dist-info/RECORD,,
8
+ pycline-0.1.8.dist-info/LICENSE,sha256=6XV86fklwr93DuwtgX05Jg3n25_0c726oBhoSMn1aoc,1245
9
+ pycline-0.1.8.dist-info/METADATA,sha256=ZtXtjD49HHHA5zklJMCTt0Q-AFY7LBhm-Xx1Pf6m-O8,2245
10
+ pycline-0.1.8.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
11
+ pycline-0.1.8.dist-info/top_level.txt,sha256=w0zzQfaPH2RNTWfJ_lsPf-EbkvT6m3quM69exCTMBvU,8
12
+ pycline-0.1.8.dist-info/RECORD,,