original_docstring: 
          Plot upper and lower percentiles of genesis density derived from
          synthetic event sets
  
          
docstring: Plot upper and lower percentiles of genesis density derived from
  synthetic event sets
docstring_tokens: Plot upper and lower percentiles of genesis density derived from synthetic event sets
code: def plotGenesisDensityPercentiles(self):
          """
          Plot upper and lower percentiles of genesis density derived from
          synthetic event sets
  
          """
  
          datarange = (0, self.hist.max())
          figure = FilledContourMapFigure()
          lvls, exponent = levels(self.hist.max())
  
          map_kwargs = dict(llcrnrlon=self.lon_range.min(),
                            llcrnrlat=self.lat_range.min(),
                            urcrnrlon=self.lon_range.max(),
                            urcrnrlat=self.lat_range.max(),
                            projection='merc',
                            resolution='i')
          cbarlab = "TCs/yr"
          xgrid, ygrid = np.meshgrid(self.lon_range, self.lat_range)
  
          figure.add(self.synHistUpper.T*(10.**-exponent), xgrid, ygrid,
                     "Upper percentile", lvls*(10.**-exponent), cbarlab, map_kwargs)
          figure.add(self.synHistLower.T*(10.**-exponent), xgrid, ygrid,
                     "Lower percentile", lvls*(10.**-exponent), cbarlab, map_kwargs)
          figure.plot()
          outputFile = pjoin(self.plotPath, 'genesis_density_percentiles.png')
          saveFigure(figure, outputFile)
code_tokens: def plotGenesisDensityPercentiles ( self ) : datarange = ( 0 , self . hist . max ( ) ) figure = FilledContourMapFigure ( ) lvls , exponent = levels ( self . hist . max ( ) ) map_kwargs = dict ( llcrnrlon = self . lon_range . min ( ) , llcrnrlat = self . lat_range . min ( ) , urcrnrlon = self . lon_range . max ( ) , urcrnrlat = self . lat_range . max ( ) , projection = 'merc' , resolution = 'i' ) cbarlab = "TCs/yr" xgrid , ygrid = np . meshgrid ( self . lon_range , self . lat_range ) figure . add ( self . synHistUpper . T * ( 10. ** - exponent ) , xgrid , ygrid , "Upper percentile" , lvls * ( 10. ** - exponent ) , cbarlab , map_kwargs ) figure . add ( self . synHistLower . T * ( 10. ** - exponent ) , xgrid , ygrid , "Lower percentile" , lvls * ( 10. ** - exponent ) , cbarlab , map_kwargs ) figure . plot ( ) outputFile = pjoin ( self . plotPath , 'genesis_density_percentiles.png' ) saveFigure ( figure , outputFile )
short_docstring: Plot upper and lower percentiles of genesis density derived from
  synthetic event sets
short_docstring_tokens: Plot upper and lower percentiles of genesis density derived from synthetic event sets
comment: """
          Plot upper and lower percentiles of genesis density derived from
          synthetic event sets
  
          """