Added another ignition class object called ignite that reads in the data from ignite.dat. The data is then displayed on another image that shows a time independent graph. Arrows or time of ignition for each point can be added to the graph with the variable arrow_flag, line 598. There are several new methods for this plot, including label_ignitions, indexing_maximum, map_ignite and plot_ignite. All exist within a try function that catches the error if ignite.dat is not found and continues the program.
Motivation and Context
This project was assigned by Daniel Giron, allows drawfire to display a graph that is time independent, reducing the effort needed to see the beginning and end of the run.
Test Cases
Works for both atv line and aerial ignitions. Some very odd cases with aerial ignitions can have weird arrows due to the nature of trying to plot arrows from evolving points. Should work for most cases however. ATV ignitions are easier and thus had little issues with plotting.
Cheklist
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
Description
Added another ignition class object called ignite that reads in the data from ignite.dat. The data is then displayed on another image that shows a time independent graph. Arrows or time of ignition for each point can be added to the graph with the variable arrow_flag, line 598. There are several new methods for this plot, including label_ignitions, indexing_maximum, map_ignite and plot_ignite. All exist within a try function that catches the error if ignite.dat is not found and continues the program.
Motivation and Context
This project was assigned by Daniel Giron, allows drawfire to display a graph that is time independent, reducing the effort needed to see the beginning and end of the run.
Test Cases
Works for both atv line and aerial ignitions. Some very odd cases with aerial ignitions can have weird arrows due to the nature of trying to plot arrows from evolving points. Should work for most cases however. ATV ignitions are easier and thus had little issues with plotting.
Cheklist
s