Example #1
0
 def plotHistSFR(self):
     mvect = self.sfrs
     yvect = [1.0 for a in range(len(mvect))]
     
     print("Plotting versus sfr")
     outputDirectory = os.path.split(self.referencepath)[0]
     outFileNoExt = 'stats_versusSFR_hist' 
     outFilepathNoExt = os.path.join(outputDirectory,outFileNoExt)
     outdir = outputDirectory
     enablePlot = 0
     nPercentileDepth = 1
     exportType = 'png'
     lstats.PlotAmazedVersusBinsHistogram(yvect, mvect, outdir, outFilepathNoExt, enablePlot=enablePlot, enableExport=1, exportType=exportType, mtype='SFR', nPercentileDepth=nPercentileDepth) 
Example #2
0
 def plotHistHalphaFlux(self):
     mvect = self.loghalphas
     yvect = [1.0 for a in range(len(mvect))]
     
     print("Plotting versus logfhalpha")
     outputDirectory = os.path.split(self.referencepath)[0]
     outFileNoExt = 'stats_versusLogFHAlpha_hist' 
     outFilepathNoExt = os.path.join(outputDirectory,outFileNoExt)
     outdir = outputDirectory
     enablePlot = 0
     nPercentileDepth = 1
     exportType = 'png'
     lstats.PlotAmazedVersusBinsHistogram(yvect, mvect, outdir, outFilepathNoExt, enablePlot=enablePlot, enableExport=1, exportType=exportType, mtype='LOGFHALPHA', nPercentileDepth=nPercentileDepth)