Skip to content

Commit

Permalink
script for invoking python program
Browse files Browse the repository at this point in the history
  • Loading branch information
kifetew committed Jan 23, 2023
1 parent 77066d9 commit 7c343fd
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions generate_single_heatmap.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# !/bin/bash

python_cmd="python3"
heatmap_script="/Users/kifetew/workspace/projects/iv4xr/RL/WP3/iv4xr-rlbt/src/main/resources/scripts/heatmap.py"
input_dir=$1
base_map=$2
width=$3
height=$4
output=$5

#install required libraries
pip3 install matplotlib

echo "$python_cmd $heatmap_script --dir $input_dir --basemap $base_map --width=$width --height=$height --xname posx --yname posz -o $output"
$python_cmd $heatmap_script --dir $input_dir --basemap $base_map --width=$width --height=$height --xname posx --yname posz -o $output

0 comments on commit 7c343fd

Please sign in to comment.