quends 0.1.0__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 (73) hide show
  1. quends-0.1.0/LICENSE +30 -0
  2. quends-0.1.0/PKG-INFO +54 -0
  3. quends-0.1.0/README.md +149 -0
  4. quends-0.1.0/pyproject.toml +68 -0
  5. quends-0.1.0/setup.cfg +4 -0
  6. quends-0.1.0/src/quends/__init__.py +85 -0
  7. quends-0.1.0/src/quends/__main__.py +8 -0
  8. quends-0.1.0/src/quends/base/__init__.py +44 -0
  9. quends-0.1.0/src/quends/base/data_stream.py +955 -0
  10. quends-0.1.0/src/quends/base/ensemble.py +723 -0
  11. quends-0.1.0/src/quends/base/ensemble_statistics.py +861 -0
  12. quends-0.1.0/src/quends/base/ensemble_utils.py +565 -0
  13. quends-0.1.0/src/quends/base/history.py +77 -0
  14. quends-0.1.0/src/quends/base/operations.py +44 -0
  15. quends-0.1.0/src/quends/base/stationary.py +117 -0
  16. quends-0.1.0/src/quends/base/trim.py +1128 -0
  17. quends-0.1.0/src/quends/base/utils.py +631 -0
  18. quends-0.1.0/src/quends/cli.py +56 -0
  19. quends-0.1.0/src/quends/postprocessing/__init__.py +6 -0
  20. quends-0.1.0/src/quends/postprocessing/exporter.py +216 -0
  21. quends-0.1.0/src/quends/postprocessing/loader.py +53 -0
  22. quends-0.1.0/src/quends/postprocessing/plotter.py +734 -0
  23. quends-0.1.0/src/quends/postprocessing/writer.py +48 -0
  24. quends-0.1.0/src/quends/preprocessing/__init__.py +21 -0
  25. quends-0.1.0/src/quends/preprocessing/_utils.py +141 -0
  26. quends-0.1.0/src/quends/preprocessing/csv.py +44 -0
  27. quends-0.1.0/src/quends/preprocessing/dictionary.py +41 -0
  28. quends-0.1.0/src/quends/preprocessing/gx.py +36 -0
  29. quends-0.1.0/src/quends/preprocessing/json.py +54 -0
  30. quends-0.1.0/src/quends/preprocessing/netcdf.py +97 -0
  31. quends-0.1.0/src/quends/preprocessing/numpy.py +96 -0
  32. quends-0.1.0/src/quends/workflow/__init__.py +13 -0
  33. quends-0.1.0/src/quends/workflow/_common.py +20 -0
  34. quends-0.1.0/src/quends/workflow/batch_ensemble_workflow.py +391 -0
  35. quends-0.1.0/src/quends/workflow/ensemble_average_workflow.py +330 -0
  36. quends-0.1.0/src/quends/workflow/ensemble_statistics_workflow.py +425 -0
  37. quends-0.1.0/src/quends/workflow/robust_workflow.py +410 -0
  38. quends-0.1.0/src/quends.egg-info/PKG-INFO +54 -0
  39. quends-0.1.0/src/quends.egg-info/SOURCES.txt +71 -0
  40. quends-0.1.0/src/quends.egg-info/dependency_links.txt +1 -0
  41. quends-0.1.0/src/quends.egg-info/entry_points.txt +2 -0
  42. quends-0.1.0/src/quends.egg-info/requires.txt +16 -0
  43. quends-0.1.0/src/quends.egg-info/top_level.txt +1 -0
  44. quends-0.1.0/tests/test_base_refactor_functionality_equivalence.py +160 -0
  45. quends-0.1.0/tests/test_cli.py +47 -0
  46. quends-0.1.0/tests/test_csv.py +67 -0
  47. quends-0.1.0/tests/test_data_stream.py +659 -0
  48. quends-0.1.0/tests/test_datastream_CGRYO.py +162 -0
  49. quends-0.1.0/tests/test_datastream_guide.py +118 -0
  50. quends-0.1.0/tests/test_dictionary.py +43 -0
  51. quends-0.1.0/tests/test_ensemble.py +23 -0
  52. quends-0.1.0/tests/test_ensemble_stats.py +52 -0
  53. quends-0.1.0/tests/test_ensemble_summary.py +40 -0
  54. quends-0.1.0/tests/test_ensemble_workflows.py +1017 -0
  55. quends-0.1.0/tests/test_exporter.py +54 -0
  56. quends-0.1.0/tests/test_gx.py +90 -0
  57. quends-0.1.0/tests/test_history.py +18 -0
  58. quends-0.1.0/tests/test_history_eq.py +71 -0
  59. quends-0.1.0/tests/test_json.py +60 -0
  60. quends-0.1.0/tests/test_loader.py +134 -0
  61. quends-0.1.0/tests/test_netcdf.py +186 -0
  62. quends-0.1.0/tests/test_numpy.py +52 -0
  63. quends-0.1.0/tests/test_operations.py +28 -0
  64. quends-0.1.0/tests/test_plotter.py +69 -0
  65. quends-0.1.0/tests/test_plotter_ensemble.py +81 -0
  66. quends-0.1.0/tests/test_preprocessing_utils.py +73 -0
  67. quends-0.1.0/tests/test_robust_workflow.py +584 -0
  68. quends-0.1.0/tests/test_start_time_demo.py +88 -0
  69. quends-0.1.0/tests/test_stationary.py +182 -0
  70. quends-0.1.0/tests/test_trim.py +641 -0
  71. quends-0.1.0/tests/test_trim_iqr.py +46 -0
  72. quends-0.1.0/tests/test_trim_self_consistent.py +46 -0
  73. quends-0.1.0/tests/test_writer.py +103 -0
quends-0.1.0/LICENSE ADDED
@@ -0,0 +1,30 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright 2025 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
4
+ Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains
5
+ certain rights in this software.
6
+
7
+ Redistribution and use in source and binary forms, with or without
8
+ modification, are permitted provided that the following conditions are met:
9
+
10
+ 1. Redistributions of source code must retain the above copyright notice, this
11
+ list of conditions and the following disclaimer.
12
+
13
+ 2. Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
16
+
17
+ 3. Neither the name of the copyright holder nor the names of its
18
+ contributors may be used to endorse or promote products derived from
19
+ this software without specific prior written permission.
20
+
21
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
quends-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,54 @@
1
+ Metadata-Version: 2.4
2
+ Name: quends
3
+ Version: 0.1.0
4
+ Summary: A Python package for quantifying uncertainty in ensembles of data streams.
5
+ License: BSD 3-Clause License
6
+
7
+ Copyright 2025 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
8
+ Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains
9
+ certain rights in this software.
10
+
11
+ Redistribution and use in source and binary forms, with or without
12
+ modification, are permitted provided that the following conditions are met:
13
+
14
+ 1. Redistributions of source code must retain the above copyright notice, this
15
+ list of conditions and the following disclaimer.
16
+
17
+ 2. Redistributions in binary form must reproduce the above copyright notice,
18
+ this list of conditions and the following disclaimer in the documentation
19
+ and/or other materials provided with the distribution.
20
+
21
+ 3. Neither the name of the copyright holder nor the names of its
22
+ contributors may be used to endorse or promote products derived from
23
+ this software without specific prior written permission.
24
+
25
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
26
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
27
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
28
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
29
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
30
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
31
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
32
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
33
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
+
36
+ Requires-Python: >=3.8
37
+ Description-Content-Type: text/x-rst
38
+ License-File: LICENSE
39
+ Requires-Dist: numpy>=1.21
40
+ Requires-Dist: pandas>=1.3
41
+ Requires-Dist: netcdf4>=1.7
42
+ Requires-Dist: statsmodels>=0.13
43
+ Requires-Dist: scikit-learn>=1.0
44
+ Requires-Dist: matplotlib>=3.1
45
+ Provides-Extra: dev
46
+ Requires-Dist: pytest>=7.0; extra == "dev"
47
+ Requires-Dist: pytest-cov; extra == "dev"
48
+ Requires-Dist: pre-commit>=2.17.0; extra == "dev"
49
+ Requires-Dist: black>=24.4.2; extra == "dev"
50
+ Requires-Dist: ruff>=0.11.0; extra == "dev"
51
+ Requires-Dist: isort>=5.12.0; extra == "dev"
52
+ Requires-Dist: papermill; extra == "dev"
53
+ Requires-Dist: ipykernel; extra == "dev"
54
+ Dynamic: license-file
quends-0.1.0/README.md ADDED
@@ -0,0 +1,149 @@
1
+ # Quantification of Uncertainty in ENsembles of Data Streams (QUENDS)
2
+
3
+ #### Evans Etrue Howard, Abeyah Calpatura, Pieterjan Robbe, Bert Debusschere
4
+
5
+ [![Coverage Status](https://coveralls.io/repos/github/sandialabs/quends/badge.svg?branch=main)](https://coveralls.io/github/sandialabs/quends?branch=main)
6
+ [![Deploy to GitHub Pages](https://github.com/sandialabs/quends/actions/workflows/deployment.yml/badge.svg)](https://github.com/sandialabs/quends/actions/workflows/deployment.yml)
7
+ [![Run Tests](https://github.com/sandialabs/quends/actions/workflows/python-tests.yml/badge.svg)](https://github.com/sandialabs/quends/actions/workflows/python-tests.yml)
8
+ [![pages-build-deployment](https://github.com/sandialabs/quends/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/sandialabs/quends/actions/workflows/pages/pages-build-deployment)
9
+
10
+ ## Overview
11
+ This project focuses on uncertainty quantification in plasma turbulent simulations. It includes modules for loading and processing NetCDF and CSV datasets, estimating steady states, computing effective sample sizes, and running uncertainty quantification analyses. The project is structured into multiple Python scripts, each handling different aspects of the analysis. To see more information on documentation, etc... visit our website [here](https://sandialabs.github.io/quends/).
12
+
13
+ ## Table of Contents
14
+
15
+ - [Installation](#installation)
16
+ - [Usage](#usage)
17
+ - [For Developers](#for-developers)
18
+ - [Documentation](#documentation)
19
+ - [Examples](#examples)
20
+ - [Summary](#summary)
21
+ - [Contributing](#contributing)
22
+ - [License](#license)
23
+
24
+ ## Installation
25
+
26
+ 1. **Clone the repository**:
27
+ - Using SSH:
28
+ ```bash
29
+ git clone git@github.com:sandialabs/quends.git
30
+ cd quends
31
+ ```
32
+ - Using HTTPS:
33
+ ```bash
34
+ git clone https://github.com/sandialabs/quends.git
35
+ cd quends
36
+ ```
37
+
38
+ 2. **Install the package and dependencies**:
39
+ You can install the package along with its dependencies using pip:
40
+ ```bash
41
+ pip install .
42
+ ```
43
+
44
+ 3. **Verify the installation**:
45
+ To ensure that the installation was successful, you can run a simple test:
46
+ ```bash
47
+ python -c "import quends"
48
+ ```
49
+
50
+
51
+ ## Usage
52
+
53
+ Examples are shown in the `examples/notebooks` directories.
54
+ - `cgyro`: Contains all CGYRO data
55
+ - `gx`: Contains all gx data
56
+ - `gx/ensemble`: Contains all ensemble data
57
+ - `DataStream_Guide-CGRYO.ipynb`: DataStream guide for CGYRO data
58
+ - `DataStream_Guide-GX.ipynb`: DataStream guide for GX data
59
+ - `DataStream_Guide-Ensemble.ipynb`: DataStream guide for Ensembles
60
+ - `DataStream_Guide.ipynb`: DataStream guide
61
+
62
+ ## For Developers
63
+
64
+ 1. **Clone the repository**:
65
+ - Using SSH:
66
+ ```bash
67
+ git clone git@github.com:sandialabs/quends.git
68
+ cd quends
69
+ ```
70
+ - Using HTTPS:
71
+ ```bash
72
+ git clone https://github.com/sandialabs/quends.git
73
+ cd quends
74
+ ```
75
+
76
+ 2. **Install the package and dependencies**:
77
+ You can install the package along with its dependencies using pip:
78
+ ```bash
79
+ pip install -e .\[dev\]
80
+ ```
81
+
82
+ 3. **Install pre-commit hooks**
83
+ To ensure code quality and consistency, install:
84
+ ```bash
85
+ pre-commit install
86
+ ```
87
+
88
+ 4. **Run Ruff**:
89
+ For linting and fixing issues:
90
+ ```bash
91
+ ruff check --fix
92
+ ```
93
+
94
+ 5. **Run isort**:
95
+ To format your code with Black:
96
+ ```bash
97
+ isort .
98
+ ```
99
+
100
+ 6. **Run Black**:
101
+ To format your code with Black:
102
+ ```bash
103
+ black .
104
+ ```
105
+
106
+ ## Documentation
107
+ For comprehensive information on how to use the QUENDS package, please refer to our [official documentation](https://sandialabs.github.io/quends/).
108
+
109
+ ## Summary
110
+ Key functionalities include:
111
+ - **Data Handling**: Seamlessly load and preprocess data from various formats, including CSV, JSON, and NetCDF.
112
+ - **Statistical Analysis**: Compute essential statistics and assess data quality with built-in methods for effective sample size estimation and confidence interval calculations.
113
+ - **Visualization**: Create informative plots to visualize trends, correlations, and patterns in time series data.
114
+
115
+ ## Contributing
116
+ Feel free to submit issues and merge requests. For major changes, please open an issue first to discuss what you would like to change.
117
+
118
+ ## License
119
+ BSD 3-Clause License
120
+
121
+ Copyright 2025 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
122
+ Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains
123
+ certain rights in this software.
124
+
125
+ Redistribution and use in source and binary forms, with or without
126
+ modification, are permitted provided that the following conditions are met:
127
+
128
+ 1. Redistributions of source code must retain the above copyright notice, this
129
+ list of conditions and the following disclaimer.
130
+
131
+ 2. Redistributions in binary form must reproduce the above copyright notice,
132
+ this list of conditions and the following disclaimer in the documentation
133
+ and/or other materials provided with the distribution.
134
+
135
+ 3. Neither the name of the copyright holder nor the names of its
136
+ contributors may be used to endorse or promote products derived from
137
+ this software without specific prior written permission.
138
+
139
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
140
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
141
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
142
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
143
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
144
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
145
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
146
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
147
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
148
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
149
+
@@ -0,0 +1,68 @@
1
+ [build-system]
2
+ requires = ["setuptools>=42", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "quends"
7
+ version = "0.1.0"
8
+ description = "A Python package for quantifying uncertainty in ensembles of data streams."
9
+ readme = "README.rst"
10
+ license = { file = "LICENSE" }
11
+ requires-python = ">=3.8"
12
+
13
+ dependencies = [
14
+ "numpy>=1.21",
15
+ "pandas>=1.3",
16
+ "netcdf4>=1.7",
17
+ "statsmodels>=0.13",
18
+ "scikit-learn>=1.0",
19
+ "matplotlib>=3.1",
20
+ ]
21
+
22
+ [project.optional-dependencies]
23
+ dev = [
24
+ "pytest>=7.0",
25
+ "pytest-cov",
26
+ "pre-commit>=2.17.0",
27
+ "black>=24.4.2",
28
+ "ruff>=0.11.0",
29
+ "isort>=5.12.0",
30
+ "papermill",
31
+ "ipykernel"
32
+ ]
33
+
34
+ [project.scripts]
35
+ quends = "quends.cli:main"
36
+
37
+ [tool.setuptools.packages.find]
38
+ where = ["src"]
39
+
40
+ [tool.setuptools]
41
+ package-dir = {"" = "src"}
42
+
43
+ [tool.pytest.ini_options]
44
+ filterwarnings = [
45
+ "ignore"
46
+ ]
47
+
48
+ [tool.coverage.run]
49
+ source = ["quends"]
50
+ omit = [
51
+ "src/quends/postprocessing/*",
52
+ ]
53
+
54
+ [tool.coverage.paths]
55
+ source = [
56
+ "src/quends",
57
+ "*/site-packages/quends",
58
+ ]
59
+
60
+ [tool.coverage.report]
61
+ omit = [
62
+ "src/quends/postprocessing/*",
63
+ ]
64
+
65
+ [tool.coverage.html]
66
+ omit = [
67
+ "src/quends/postprocessing/*",
68
+ ]
quends-0.1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,85 @@
1
+ # quends/__init__.py
2
+
3
+ __version__ = "0.1.0"
4
+
5
+ # Importing classes and functions from base module
6
+ from .base.data_stream import DataStream
7
+ from .base.ensemble import Ensemble
8
+ from .base.operations import DataStreamOperation
9
+ from .base.stationary import MakeDataStreamStationaryOperation
10
+ from .base.trim import (
11
+ IQRTrimStrategy,
12
+ MeanVariationTrimStrategy,
13
+ NoiseThresholdTrimStrategy,
14
+ QuantileTrimStrategy,
15
+ RollingVarianceThresholdTrimStrategy,
16
+ RollingVarianceTrimStrategy,
17
+ SSSStartTrimStrategy,
18
+ SelfConsistentTrimStrategy,
19
+ StandardDeviationTrimStrategy,
20
+ ThresholdTrimStrategy,
21
+ TrimDataStreamOperation,
22
+ TrimStrategy,
23
+ build_trim_strategy,
24
+ )
25
+
26
+ # Importing classes and functions from postprocessing module
27
+ from .postprocessing.exporter import Exporter
28
+ from .postprocessing.plotter import Plotter
29
+
30
+ # Importing functions from preprocessing module
31
+ from .preprocessing.csv import from_csv
32
+ from .preprocessing.dictionary import from_dict
33
+ from .preprocessing.gx import from_gx
34
+ from .preprocessing.json import from_json
35
+ from .preprocessing.netcdf import from_netcdf
36
+ from .preprocessing.numpy import from_numpy
37
+
38
+ # Importing classes from workflow module
39
+ from .workflow.batch_ensemble_workflow import BatchEnsembleWorkflow
40
+ from .workflow.ensemble_average_workflow import EnsembleAverageWorkflow
41
+ from .workflow.ensemble_statistics_workflow import EnsembleStatisticsWorkflow
42
+ from .workflow.robust_workflow import RobustWorkflow
43
+
44
+ # Optionally, you can define the __all__ variable to specify what is exported
45
+ # when using 'from quends import *'
46
+ __all__ = [
47
+ # Core data containers
48
+ "DataStream",
49
+ "Ensemble",
50
+ # Postprocessing
51
+ "Exporter",
52
+ "Plotter",
53
+ # Preprocessing loaders
54
+ "from_csv",
55
+ "from_dict",
56
+ "from_gx",
57
+ "from_json",
58
+ "from_netcdf",
59
+ "from_numpy",
60
+ # Workflow
61
+ "RobustWorkflow",
62
+ "EnsembleAverageWorkflow",
63
+ "EnsembleStatisticsWorkflow",
64
+ "BatchEnsembleWorkflow",
65
+ # Trim — canonical entry point
66
+ "build_trim_strategy",
67
+ # Trim — strategy classes (concrete)
68
+ "IQRTrimStrategy",
69
+ "MeanVariationTrimStrategy",
70
+ "NoiseThresholdTrimStrategy",
71
+ "QuantileTrimStrategy",
72
+ "RollingVarianceThresholdTrimStrategy",
73
+ "SelfConsistentTrimStrategy",
74
+ # Trim — aliases (backward compat)
75
+ "StandardDeviationTrimStrategy",
76
+ "ThresholdTrimStrategy",
77
+ "RollingVarianceTrimStrategy",
78
+ "SSSStartTrimStrategy",
79
+ # Trim — operation + ABC
80
+ "TrimStrategy",
81
+ "TrimDataStreamOperation",
82
+ # Other operations
83
+ "DataStreamOperation",
84
+ "MakeDataStreamStationaryOperation",
85
+ ]
@@ -0,0 +1,8 @@
1
+ """Entry point for ``python -m quends``."""
2
+
3
+ import sys
4
+
5
+ from .cli import main
6
+
7
+ if __name__ == "__main__":
8
+ sys.exit(main())
@@ -0,0 +1,44 @@
1
+ # base/__init__.py
2
+
3
+ from .data_stream import DataStream
4
+ from .ensemble import Ensemble
5
+ from .history import DataStreamHistory, DataStreamHistoryEntry
6
+ from .operations import DataStreamOperation
7
+ from .stationary import MakeDataStreamStationaryOperation
8
+ from .trim import (
9
+ IQRTrimStrategy,
10
+ MeanVariationTrimStrategy,
11
+ NoiseThresholdTrimStrategy,
12
+ QuantileTrimStrategy,
13
+ RollingVarianceThresholdTrimStrategy,
14
+ RollingVarianceTrimStrategy,
15
+ SSSStartTrimStrategy,
16
+ SelfConsistentTrimStrategy,
17
+ StandardDeviationTrimStrategy,
18
+ ThresholdTrimStrategy,
19
+ TrimDataStreamOperation,
20
+ TrimStrategy,
21
+ build_trim_strategy,
22
+ )
23
+
24
+ __all__ = [
25
+ "DataStream",
26
+ "Ensemble",
27
+ "DataStreamHistory",
28
+ "DataStreamHistoryEntry",
29
+ "DataStreamOperation",
30
+ "MakeDataStreamStationaryOperation",
31
+ "TrimStrategy",
32
+ "TrimDataStreamOperation",
33
+ "build_trim_strategy",
34
+ "QuantileTrimStrategy",
35
+ "NoiseThresholdTrimStrategy",
36
+ "RollingVarianceThresholdTrimStrategy",
37
+ "MeanVariationTrimStrategy",
38
+ "SelfConsistentTrimStrategy",
39
+ "IQRTrimStrategy",
40
+ "StandardDeviationTrimStrategy",
41
+ "ThresholdTrimStrategy",
42
+ "RollingVarianceTrimStrategy",
43
+ "SSSStartTrimStrategy",
44
+ ]