Plotting routines

This program will plot the final temperature map using the temperatures calculated from sherpa and the binnings from WVT

class TemperatureMapPipeline.Plots.Bin(number)

Class which contains bin information: bin number, pixels in bin, temperature, reduced chi statistic, and abundance.

TemperatureMapPipeline.Plots.plot_Ab(bin_file, temp_file, file_dir, filename, color_map, stn, wcs_image)

Plot the Abundance from Fits and create png and fits image with the following ending: file_dir+’/’+filename+”_”+str(stn)+”_Met.png”

Parameters
  • bin_file (str) – WVT bin data file

  • temp_file (str) – Temperature file containing fit information

  • file_dir (str) – Full path to location of new image (and fits)

  • filename (str) – Name of new output file

  • color_map (str) – Matplotlib Colormap (default = Viridis)

  • stn (int) – Target Signal-to-Noise of WVT bins

  • wcs_image (str) – Path to initial image for WCS information (not used for anything else)

Returns

PNG and FITS image of fitted abundances

TemperatureMapPipeline.Plots.plot_Bins(bin_file, temp_file, file_dir, filename, color_map, stn, wcs_image)

Plot the Temperatures from Fits and create png and fits image with the following ending: file_dir+’/’+filename+”_”+str(stn)+”_Met.png”

Parameters
  • bin_file (str) – WVT bin data file

  • temp_file (str) – Temperature file containing fit information

  • file_dir (str) – Full path to location of new image (and fits)

  • filename (str) – Name of new output file

  • color_map (str) – Matplotlib Colormap (default = Viridis)

  • stn (int) – Target Signal-to-Noise of WVT bins

  • wcs_image (str) – Path to initial image for WCS information (not used for anything else)

Returns

PNG and FITS image of fitted temperatures