rtc-tools-interface 0.7.0b4__tar.gz → 0.7.1__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.
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/PKG-INFO +1 -1
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtc_tools_interface.egg-info/PKG-INFO +1 -1
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/_version.py +3 -3
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/plotting/subplot_classes.py +5 -3
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/COPYING.LESSER +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/README.md +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtc_tools_interface.egg-info/SOURCES.txt +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtc_tools_interface.egg-info/dependency_links.txt +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtc_tools_interface.egg-info/requires.txt +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtc_tools_interface.egg-info/top_level.txt +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/__init__.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/__init__.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/base_goal.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/base_optimization_problem.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/goal_generator_mixin.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/goal_performance_metrics.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/goal_table_schema.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/helpers/__init__.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/helpers/statistics_mixin.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/plot_goals_mixin.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/plot_mixin.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/optimization/read_goals.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/plotting/__init__.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/plotting/plot_tools.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/simulation/__init__.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/simulation/base_simulation_problem.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/simulation/plot_mixin.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/utils/__init__.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/utils/plot_table_schema.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/utils/read_goals_mixin.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/utils/read_plot_table.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/utils/results_collection.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/utils/serialization.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/utils/type_definitions.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/setup.cfg +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/setup.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/__init__.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/optimization/__init__.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/optimization/test_base_optimization_problem.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/optimization/test_passing_goals_directly.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/optimization/test_plot_goals_mixin.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/optimization/test_read_goals.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/simulation/__init__.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/simulation/test_base_simulation_problem.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/simulation/test_plot_mixin.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/utils/__init__.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/utils/get_test.py +0 -0
- {rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/versioneer.py +0 -0
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2023-12-
|
|
11
|
+
"date": "2023-12-22T13:22:49+0000",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "0.7.
|
|
14
|
+
"full-revisionid": "5d3d1b69fbc76a7bf4fd384003bfa601bb820486",
|
|
15
|
+
"version": "0.7.1"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -135,7 +135,6 @@ class SubplotBase(ABC):
|
|
|
135
135
|
if self.config.specified_in == "goal_generator" and self.goal:
|
|
136
136
|
self.plot_with_previous(self.goal["state"], self.goal["state"])
|
|
137
137
|
self.plot_additional_variables()
|
|
138
|
-
self.format_subplot()
|
|
139
138
|
if (
|
|
140
139
|
self.config.specified_in == "goal_generator"
|
|
141
140
|
and self.goal
|
|
@@ -146,14 +145,17 @@ class SubplotBase(ABC):
|
|
|
146
145
|
]
|
|
147
146
|
):
|
|
148
147
|
self.add_ranges()
|
|
148
|
+
self.format_subplot()
|
|
149
149
|
|
|
150
150
|
def add_ranges(self):
|
|
151
151
|
"""Add lines for the lower and upper target."""
|
|
152
152
|
if np.array_equal(self.target_min, self.target_max, equal_nan=True):
|
|
153
153
|
self.plot_dashed_line(self.datetimes, self.target_min, "Target", "r")
|
|
154
154
|
else:
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
if not (isinstance(self.target_max, float) or np.isnan(self.target_max).any()):
|
|
156
|
+
self.plot_dashed_line(self.datetimes, self.target_max, "Target max", "r")
|
|
157
|
+
if not (isinstance(self.target_min, float) or np.isnan(self.target_min).any()):
|
|
158
|
+
self.plot_dashed_line(self.datetimes, self.target_min, "Target min", "r")
|
|
157
159
|
|
|
158
160
|
def plot_timeseries(self, label, timeseries_data, color=None, linewidth=None, linestyle=None):
|
|
159
161
|
"""Plot a timeseries with the given style.
|
|
File without changes
|
|
File without changes
|
{rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtc_tools_interface.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtc_tools_interface.egg-info/requires.txt
RENAMED
|
File without changes
|
{rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtc_tools_interface.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/plotting/__init__.py
RENAMED
|
File without changes
|
{rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/plotting/plot_tools.py
RENAMED
|
File without changes
|
{rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/simulation/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/utils/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/rtctools_interface/utils/serialization.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/optimization/test_read_goals.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{rtc-tools-interface-0.7.0b4 → rtc-tools-interface-0.7.1}/tests/simulation/test_plot_mixin.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|