跳转到主要内容

一组用于创建SPARC数据集的工具。

项目描述

SPARC数据集创建

一个用于创建SPARC数据集的包。目前,支持创建基于脚架的SPARC数据集。

安装

您可以使用以下命令从PyPi.org安装SPARC数据集工具

pip install sparc-dataset-tools

用法

如何使用(也可以使用 create-scaffold-dataset -h 查找)

用法: create-scaffold-dataset [-h] dataset_dir mesh_config_file argon_document

从脚架描述文件和Argon文档创建基于脚架的SPARC数据集。

位置参数

dataset_dir

新数据集的根目录。

mesh_config_file

用于生成脚架的网格配置json文件。

argon_document

用于生成webGL文件的Argon文档文件。

可选参数

-h, –help

显示此帮助信息并退出

运行

要运行应用程序,请创建一个虚拟环境。

python -m venv venv_sparc

激活虚拟环境

source venv_sparc/bin/activate

对于bash shell,或者

venv_sparc\Scripts\activate

对于Windows cmd 提示符。

使用激活的虚拟环境安装包。

pip install sparc-dataset-tools

然后执行应用程序以打印用法信息以测试脚本。

create-scaffold-dataset -h

示例

create-scaffold-dataset <dataset_dir> <mesh_config_file> <argon_document>

许可证

Copyright 2022 University of Auckland

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://apache.ac.cn/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

项目详情


下载文件

下载适用于您平台的项目文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

本版本没有提供源分布文件。请参阅有关生成分布存档的教程。

构建的分布

sparc_dataset_tools-0.2.5-py3-none-any.whl (4.6 kB 查看哈希值)

上传时间 Python 3

由支持