Skip to main content

No project description provided

Project description

Wavefront_package

このツールはYanatori (2022) を修正したツールです

実行方法

python -m wavefront_package

主な機能

Vronoi図の生成 経路探査

依存関係

numpy matplotlib opencv-python

ファイルの説明

circle.csv 生成源のデータ

main.pyは 必要なモジュールをインストールしています. コマンドライン引数が2個未満の時,メインプログラム(wavefront_5_pac.py)が実行されます

ファイルの入力 スタート点とゴール点の設定 出力画像の表示を行う 画像の大きさ Voronoi(縦,横)

ファイルの入力はデフォルトでcircle.csvを指定: 実行するときには実行するディレクトリでcircle.csv が存在するようにしてください

以下 主な変数の説明

vor.file_input('datefile.csv') で入力ファイルの指定します

diagram = vor.voronoi_tessellation() ボロノイ図の生成

path = vor.search_path(maze,s,g,8) sとgの座標を入力します ex. s:(200,180),g:(270,320)

plt.imshow(maze, cmap=ListedColormap(['white','black','red','gray'])) ボロノイ図の生成源,ボロノイ境界線などに色をつける

plt.scatter(x,y,color='black', s= 3)

線の色を変えたり大きさを変えている. この処理はなくてもいいが場合により見えずらくなる. この処理を加えることで実行時間は長くなるが,線は見えやすくなる

wavefront_5_pac.py メインのプログラムです

setup.py パッケージのメタデータを定義する

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wavefront_package-1.0.8-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file wavefront_package-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for wavefront_package-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f2ceb1a1f2f26d9bf5218522659e02713dec5761e5faba1b3edde03905f0b125
MD5 f590a29993c4f7e62bf49585512be766
BLAKE2b-256 fd3076e1a0b5ff091b923fa0b5867bfe5a8b63ab3d2e2d7f9b2e9a7559f6de4d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page