code added to use triangle.py to plot the emission of each frb cell against the other lines
code added to scale frbs by energy as separate function as well as code to create array needed for the triangle code to plot