Skip to content

Commit

Permalink
Merge pull request #13 from warisa-r/warisa-r-patch-1
Browse files Browse the repository at this point in the history
Correct the example
  • Loading branch information
warisa-r authored Sep 1, 2024
2 parents ab94538 + 5e4f059 commit 69e8544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/sod_shock_tube_2d.jl
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
using ShockwaveDetection
ENV["JULIA_NUM_THREADS"] = "4"

flow_data = FlowData("example/data/sod_shock_right_2d.tape", false)
flow_data = FlowData("examples/data/sod_shock_right_2d.tape", false)

point_detect_algo = ImageProcessingShockDetectionAlgo(0.5, :prewitt)
dbscan_algo = DBSCANAlgo(0.25, 3, 10)

detection = detect(flow_data, point_detect_algo, dbscan_algo)

plot_shock_fits_over_time(flow_data, detection, true)
#create_heatmap_evo_with_shock(flow_data, detection, :density_field, true, false)
#create_heatmap_evo_with_shock(flow_data, detection, :density_field, true, false)

0 comments on commit 69e8544

Please sign in to comment.