sierra-research 1.2.22__py3-none-any.whl → 1.3.5__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.
- sierra/__init__.py +1 -13
- sierra/core/__init__.py +1 -13
- sierra/core/cmdline.py +2 -14
- sierra/core/config.py +3 -14
- sierra/core/experiment/__init__.py +1 -13
- sierra/core/experiment/bindings.py +1 -13
- sierra/core/experiment/definition.py +1 -13
- sierra/core/experiment/spec.py +1 -13
- sierra/core/experiment/xml.py +1 -13
- sierra/core/generators/controller_generator_parser.py +1 -13
- sierra/core/generators/exp_creator.py +1 -13
- sierra/core/generators/exp_generators.py +1 -13
- sierra/core/generators/generator_factory.py +1 -13
- sierra/core/graphs/heatmap.py +1 -13
- sierra/core/graphs/scatterplot2D.py +1 -13
- sierra/core/graphs/stacked_line_graph.py +10 -19
- sierra/core/graphs/stacked_surface_graph.py +1 -13
- sierra/core/graphs/summary_line_graph.py +1 -13
- sierra/core/hpc/__init__.py +1 -13
- sierra/core/hpc/cmdline.py +1 -13
- sierra/core/logging.py +7 -28
- sierra/core/models/__init__.py +1 -13
- sierra/core/models/graphs.py +1 -14
- sierra/core/models/interface.py +1 -13
- sierra/core/pipeline/__init__.py +1 -13
- sierra/core/pipeline/pipeline.py +1 -13
- sierra/core/pipeline/stage1/__init__.py +0 -1
- sierra/core/pipeline/stage1/pipeline_stage1.py +1 -13
- sierra/core/pipeline/stage2/__init__.py +0 -1
- sierra/core/pipeline/stage2/exp_runner.py +5 -17
- sierra/core/pipeline/stage2/pipeline_stage2.py +1 -13
- sierra/core/pipeline/stage3/__init__.py +0 -1
- sierra/core/pipeline/stage3/imagizer.py +3 -14
- sierra/core/pipeline/stage3/pipeline_stage3.py +1 -13
- sierra/core/pipeline/stage3/run_collator.py +1 -13
- sierra/core/pipeline/stage3/statistics_calculator.py +1 -13
- sierra/core/pipeline/stage4/__init__.py +2 -3
- sierra/core/pipeline/stage4/graph_collator.py +1 -13
- sierra/core/pipeline/stage4/inter_exp_graph_generator.py +1 -13
- sierra/core/pipeline/stage4/intra_exp_graph_generator.py +1 -13
- sierra/core/pipeline/stage4/model_runner.py +1 -13
- sierra/core/pipeline/stage4/pipeline_stage4.py +1 -13
- sierra/core/pipeline/stage4/rendering.py +1 -13
- sierra/core/pipeline/stage4/yaml_config_loader.py +1 -13
- sierra/core/pipeline/stage5/__init__.py +0 -1
- sierra/core/pipeline/stage5/inter_scenario_comparator.py +1 -13
- sierra/core/pipeline/stage5/intra_scenario_comparator.py +1 -14
- sierra/core/pipeline/stage5/pipeline_stage5.py +1 -13
- sierra/core/platform.py +1 -13
- sierra/core/plugin.py +1 -13
- sierra/core/plugin_manager.py +1 -13
- sierra/core/root_dirpath_generator.py +6 -14
- sierra/core/ros1/__init__.py +1 -13
- sierra/core/ros1/callbacks.py +1 -13
- sierra/core/ros1/cmdline.py +1 -13
- sierra/core/ros1/generators.py +1 -13
- sierra/core/ros1/variables/__init__.py +1 -13
- sierra/core/ros1/variables/exp_setup.py +1 -13
- sierra/core/startup.py +6 -17
- sierra/core/stat_kernels.py +1 -13
- sierra/core/storage.py +1 -13
- sierra/core/types.py +1 -13
- sierra/core/utils.py +1 -13
- sierra/core/variables/__init__.py +1 -13
- sierra/core/variables/base_variable.py +1 -13
- sierra/core/variables/batch_criteria.py +1 -13
- sierra/core/variables/exp_setup.py +1 -13
- sierra/core/variables/population_size.py +1 -13
- sierra/core/variables/variable_density.py +1 -13
- sierra/core/vector.py +1 -13
- sierra/main.py +25 -14
- sierra/plugins/__init__.py +1 -13
- sierra/plugins/hpc/__init__.py +1 -13
- sierra/plugins/hpc/adhoc/__init__.py +1 -13
- sierra/plugins/hpc/adhoc/plugin.py +1 -13
- sierra/plugins/hpc/local/__init__.py +1 -13
- sierra/plugins/hpc/local/plugin.py +1 -13
- sierra/plugins/hpc/pbs/__init__.py +1 -13
- sierra/plugins/hpc/pbs/plugin.py +1 -13
- sierra/plugins/hpc/slurm/__init__.py +1 -13
- sierra/plugins/hpc/slurm/plugin.py +1 -13
- sierra/plugins/platform/__init__.py +1 -13
- sierra/plugins/platform/argos/__init__.py +1 -13
- sierra/plugins/platform/argos/cmdline.py +1 -13
- sierra/plugins/platform/argos/generators/__init__.py +1 -13
- sierra/plugins/platform/argos/generators/platform_generators.py +1 -13
- sierra/plugins/platform/argos/plugin.py +7 -15
- sierra/plugins/platform/argos/variables/__init__.py +1 -13
- sierra/plugins/platform/argos/variables/arena_shape.py +1 -13
- sierra/plugins/platform/argos/variables/cameras.py +1 -13
- sierra/plugins/platform/argos/variables/constant_density.py +1 -13
- sierra/plugins/platform/argos/variables/exp_setup.py +1 -13
- sierra/plugins/platform/argos/variables/physics_engines.py +1 -13
- sierra/plugins/platform/argos/variables/population_constant_density.py +1 -13
- sierra/plugins/platform/argos/variables/population_size.py +1 -13
- sierra/plugins/platform/argos/variables/population_variable_density.py +1 -13
- sierra/plugins/platform/argos/variables/rendering.py +1 -13
- sierra/plugins/platform/ros1gazebo/__init__.py +1 -13
- sierra/plugins/platform/ros1gazebo/cmdline.py +1 -13
- sierra/plugins/platform/ros1gazebo/generators/__init__.py +1 -13
- sierra/plugins/platform/ros1gazebo/generators/platform_generators.py +1 -13
- sierra/plugins/platform/ros1gazebo/plugin.py +1 -13
- sierra/plugins/platform/ros1gazebo/variables/__init__.py +1 -13
- sierra/plugins/platform/ros1gazebo/variables/population_size.py +1 -13
- sierra/plugins/platform/ros1robot/__init__.py +1 -13
- sierra/plugins/platform/ros1robot/cmdline.py +1 -13
- sierra/plugins/platform/ros1robot/generators/__init__.py +1 -13
- sierra/plugins/platform/ros1robot/generators/platform_generators.py +1 -13
- sierra/plugins/platform/ros1robot/plugin.py +1 -13
- sierra/plugins/platform/ros1robot/variables/__init__.py +1 -13
- sierra/plugins/platform/ros1robot/variables/population_size.py +1 -13
- sierra/plugins/robot/__init__.py +1 -13
- sierra/plugins/robot/turtlebot3/__init__.py +1 -13
- sierra/plugins/robot/turtlebot3/plugin.py +1 -13
- sierra/plugins/storage/__init__.py +1 -13
- sierra/plugins/storage/csv/__init__.py +1 -13
- sierra/plugins/storage/csv/plugin.py +1 -13
- sierra/version.py +3 -14
- {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man1/sierra-cli.1 +6 -5
- {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra-examples.7 +1 -1
- {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra-exec-envs.7 +1 -1
- {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra-glossary.7 +1 -1
- {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra-platforms.7 +1 -1
- {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra-usage.7 +1 -1
- {sierra_research-1.2.22.data → sierra_research-1.3.5.data}/data/share/man/man7/sierra.7 +1 -1
- sierra_research-1.3.5.dist-info/LICENSE +18 -0
- {sierra_research-1.2.22.dist-info → sierra_research-1.3.5.dist-info}/METADATA +10 -16
- sierra_research-1.3.5.dist-info/RECORD +133 -0
- {sierra_research-1.2.22.dist-info → sierra_research-1.3.5.dist-info}/WHEEL +1 -1
- sierra_research-1.2.22.dist-info/LICENSE.md +0 -674
- sierra_research-1.2.22.dist-info/RECORD +0 -133
- {sierra_research-1.2.22.dist-info → sierra_research-1.3.5.dist-info}/entry_points.txt +0 -0
- {sierra_research-1.2.22.dist-info → sierra_research-1.3.5.dist-info}/top_level.txt +0 -0
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Stage 1 of the experimental pipeline: generating experimental inputs.
|
18
6
|
|
@@ -1 +0,0 @@
|
|
1
|
-
from sierra.core.pipeline.stage2.pipeline_stage2 import PipelineStage2
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 London Lowmanstone, John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
"""Classes for executing experiments via the specified ``--exec-env``.
|
17
5
|
|
18
6
|
"""
|
@@ -219,10 +207,10 @@ class BatchExpRunner:
|
|
219
207
|
shell)
|
220
208
|
runner(exp, exp_num)
|
221
209
|
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
210
|
+
# Run cmds to cleanup platform-specific things now that the experiment
|
211
|
+
# is done (if needed).
|
212
|
+
for spec in generator.post_exp_cmds():
|
213
|
+
shell.run_from_spec(spec)
|
226
214
|
|
227
215
|
|
228
216
|
class ExpRunner:
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Stage 2 of the experimental pipeline: running experiments.
|
18
6
|
|
@@ -1 +0,0 @@
|
|
1
|
-
from sierra.core.pipeline.stage3 import run_collator
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2019 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Classes for creating image files from ``.mean`` files for experiments.
|
18
6
|
|
@@ -150,7 +138,8 @@ class ExpImagizer:
|
|
150
138
|
ylabel='Y').generate()
|
151
139
|
|
152
140
|
else:
|
153
|
-
self.logger.warning("No match for graph with src_stem
|
141
|
+
self.logger.warning(("No match for graph with src_stem='%s' "
|
142
|
+
"found in configuration"),
|
154
143
|
imagize_opts['graph_stem'])
|
155
144
|
|
156
145
|
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Stage 3 of the experimental pipeline: processing experimental results.
|
18
6
|
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2019 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Classes for collating data within a :term:`Batch Experiment`.
|
18
6
|
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2019 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""
|
18
6
|
Classes for generating statistics within and across experiments in a batch.
|
@@ -1,3 +1,2 @@
|
|
1
|
-
from
|
2
|
-
from
|
3
|
-
from sierra.core.pipeline.stage4 import yaml_config_loader
|
1
|
+
from . import inter_exp_graph_generator
|
2
|
+
from . import intra_exp_graph_generator
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
|
18
6
|
# Core packages
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
#
|
17
5
|
|
18
6
|
"""
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 London Lowmanstone, John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
#
|
17
5
|
"""
|
18
6
|
Classes for generating graphs within a single :term:`Experiment`.
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 London Lowmanstone, John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
#
|
17
5
|
"""Classes for running project-specific :term:`Models <Model>`.
|
18
6
|
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Stage 4 of the experimental pipeline: generating deliverables.
|
18
6
|
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2019 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Classes for rendering frames (images) into videos.
|
18
6
|
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2021 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
# Core packages
|
18
6
|
import typing as tp
|
@@ -1 +0,0 @@
|
|
1
|
-
from sierra.core.pipeline.stage5.pipeline_stage5 import PipelineStage5
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2019 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Classes for comparing deliverables across a set of scenarios.
|
18
6
|
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2019 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Classes for comparing deliverables within the same scenario.
|
18
6
|
|
@@ -689,7 +677,6 @@ class BivarIntraScenarioComparator:
|
|
689
677
|
|
690
678
|
for i in range(1, len(paths)):
|
691
679
|
df = reader(paths[i])
|
692
|
-
print(paths[i])
|
693
680
|
if comp_type == 'HMscale':
|
694
681
|
plot_df = df / ref_df
|
695
682
|
elif comp_type == 'HMdiff':
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Stage 5 of the experimental pipeline: comparing deliverables.
|
18
6
|
|
sierra/core/platform.py
CHANGED
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2021 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
"""Terminal interface for pltaform plugins.
|
17
5
|
|
18
6
|
Classes for generating the commands to run :term:`experiments <Batch
|
sierra/core/plugin.py
CHANGED
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2021 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
"""Sanity checks for verifying selected plugins.
|
17
5
|
|
18
6
|
Checks that selected plugins implement the necessary classes and
|
sierra/core/plugin_manager.py
CHANGED
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2020 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
"""Simple plugin managers to make SIERRA OPEN/CLOSED.
|
17
5
|
|
18
6
|
"""
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2018 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Functions for generating root directory paths for a batch experiment.
|
18
6
|
|
@@ -197,7 +185,11 @@ def gen_batch_root(root: str,
|
|
197
185
|
|
198
186
|
"""
|
199
187
|
batch_leaf = gen_batch_leaf(criteria, template_stem, scenario)
|
200
|
-
|
188
|
+
|
189
|
+
# Don't reslove() the path--that makes symlinked dirs under $HOME through
|
190
|
+
# errors which are fatal from pathlib's POV, but actually harmless.
|
191
|
+
sierra_root = pathlib.Path(root)
|
192
|
+
|
201
193
|
return sierra_root / project / controller / batch_leaf
|
202
194
|
|
203
195
|
|
sierra/core/ros1/__init__.py
CHANGED
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2021 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
# Core packages
|
18
6
|
|
sierra/core/ros1/callbacks.py
CHANGED
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2021 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
#
|
17
5
|
"""Common classes and callbacks :term:`Platforms <Platform>` using :term:`ROS1`.
|
18
6
|
|
sierra/core/ros1/cmdline.py
CHANGED
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2021 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
#
|
17
5
|
"""Common cmdline classes :term:`Platforms <Platform>` using :term:`ROS1`.
|
18
6
|
|
sierra/core/ros1/generators.py
CHANGED
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2021 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
"""Classes for generating XML changes common to all :term:`ROS1` platforms.
|
17
5
|
|
18
6
|
I.e., changes which are platform-specific, but applicable to all projects using
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2022 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
# Core packages
|
18
6
|
|
@@ -1,18 +1,6 @@
|
|
1
1
|
# Copyright 2021 John Harwell, All rights reserved.
|
2
2
|
#
|
3
|
-
#
|
4
|
-
#
|
5
|
-
# SIERRA is free software: you can redistribute it and/or modify it under the
|
6
|
-
# terms of the GNU General Public License as published by the Free Software
|
7
|
-
# Foundation, either version 3 of the License, or (at your option) any later
|
8
|
-
# version.
|
9
|
-
#
|
10
|
-
# SIERRA is distributed in the hope that it will be useful, but WITHOUT ANY
|
11
|
-
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
12
|
-
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
13
|
-
#
|
14
|
-
# You should have received a copy of the GNU General Public License along with
|
15
|
-
# SIERRA. If not, see <http://www.gnu.org/licenses/
|
3
|
+
# SPDX-License-Identifier: MIT
|
16
4
|
|
17
5
|
"""Classes for the ``--exp-setup`` cmdline option for ROS1 platforms.
|
18
6
|
|