@@ -555,7 +555,7 @@ def plot_effective_area_per_energy(SimuE, RecoE, simuArea, ax=None, **kwargs):
555555 >>> irf = ctaplot.ana.irf_cta()
556556 >>> simue = 10**(-2 + 4*np.random.rand(1000))
557557 >>> recoe = 10**(-2 + 4*np.random.rand(100))
558- >>> ax = ctaplot.plots.plot_effective_area_per_energy(simue, recoe, irf.LaPalmaArea )
558+ >>> ax = ctaplot.plots.plot_effective_area_per_energy(simue, recoe, irf.LaPalmaArea_prod3 )
559559 """
560560
561561 ax = plt .gca () if ax is None else ax
@@ -576,7 +576,7 @@ def plot_effective_area_per_energy(SimuE, RecoE, simuArea, ax=None, **kwargs):
576576 return ax
577577
578578
579- def plot_effective_area_requirement (cta_site , ax = None , ** kwargs ):
579+ def plot_effective_area_cta_requirements (cta_site , ax = None , ** kwargs ):
580580 """
581581 Plot the CTA requirement for the effective area
582582
@@ -609,7 +609,7 @@ def plot_effective_area_requirement(cta_site, ax=None, **kwargs):
609609 return ax
610610
611611
612- def plot_effective_area_performances (cta_site , ax = None , ** kwargs ):
612+ def plot_effective_area_cta_performances (cta_site , ax = None , ** kwargs ):
613613 """
614614 Plot the CTA performances for the effective area
615615
@@ -667,15 +667,15 @@ def saveplot_effective_area_per_energy(SimuE, RecoE, simuArea, ax=None, Outfile=
667667 ax = plot_effective_area_per_energy (SimuE , RecoE , simuArea , ax = ax , ** kwargs )
668668
669669 if cta_site :
670- ax = plot_effective_area_requirement (cta_site , ax = ax , color = 'black' )
670+ ax = plot_effective_area_cta_requirements (cta_site , ax = ax , color = 'black' )
671671
672672 plt .savefig (Outfile + ".png" , bbox_inches = "tight" , format = 'png' , dpi = 200 )
673673 plt .close ()
674674
675675 return ax
676676
677677
678- def plot_sensitivity_requirement (cta_site , ax = None , ** kwargs ):
678+ def plot_sensitivity_cta_requirements (cta_site , ax = None , ** kwargs ):
679679 """
680680 Plot the CTA requirement for the sensitivity
681681 Parameters
@@ -707,7 +707,7 @@ def plot_sensitivity_requirement(cta_site, ax=None, **kwargs):
707707 return ax
708708
709709
710- def plot_sensitivity_performances (cta_site , ax = None , ** kwargs ):
710+ def plot_sensitivity_cta_performances (cta_site , ax = None , ** kwargs ):
711711 """
712712 Plot the CTA performances for the sensitivity
713713 Parameters
@@ -900,15 +900,15 @@ def saveplot_angular_res_per_energy(RecoAlt, RecoAz, AltSource, AzSource, SimuE,
900900 ax = plot_angular_res_per_energy (RecoAlt , RecoAz , AltSource , AzSource , SimuE , ax = ax , ** kwargs )
901901
902902 if cta_site :
903- ax = plot_angular_res_requirement (cta_site , ax = ax )
903+ ax = plot_angular_res_requirements (cta_site , ax = ax )
904904
905905 plt .savefig (Outfile + ".png" , bbox_inches = "tight" , format = 'png' , dpi = 200 );
906906 plt .close ()
907907
908908 return ax
909909
910910
911- def plot_angular_res_requirement (cta_site , ax = None , ** kwargs ):
911+ def plot_angular_res_cta_requirements (cta_site , ax = None , ** kwargs ):
912912 """
913913 Plot the CTA requirement for the angular resolution
914914 Parameters
@@ -1244,7 +1244,7 @@ def plot_energy_resolution(SimuE, RecoE, ax=None, bias_correction=False, **kwarg
12441244 return ax
12451245
12461246
1247- def plot_energy_resolution_requirements (cta_site , ax = None , ** kwargs ):
1247+ def plot_energy_resolution_cta_requirements (cta_site , ax = None , ** kwargs ):
12481248 """
12491249 Plot the cta requirement for the energy resolution
12501250
@@ -1321,7 +1321,7 @@ def saveplot_energy_resolution(SimuE, RecoE, Outfile="EnergyResolution.png", cta
13211321 ax = plot_energy_resolution (SimuE , RecoE )
13221322
13231323 if cta_site != None :
1324- ax = plot_energy_resolution_requirements (cta_site , ax = ax )
1324+ ax = plot_energy_resolution_cta_requirements (cta_site , ax = ax )
13251325
13261326 plt .savefig (Outfile , bbox_inches = "tight" , format = 'png' , dpi = 200 )
13271327 plt .close ()
@@ -1600,11 +1600,11 @@ def set_site(self, site):
16001600 if site == 'north' or site == 'lapalma' :
16011601 self .site = site
16021602 irf = ana .irf_cta ()
1603- self .SimuArea = irf .LaPalmaArea
1603+ self .SimuArea = irf .LaPalmaArea_prod3
16041604 if site == 'south' or site == 'paranal' :
16051605 self .site = site
16061606 irf = ana .irf_cta ()
1607- self .SimuArea = irf .ParanalArea
1607+ self .SimuArea = irf .ParanalArea_prod3
16081608
16091609 def plot_all (self , MultiplicityMin = [2 , 4 ]):
16101610 self .multiplicity_hist ()
@@ -1700,7 +1700,7 @@ def angular_res_per_energy(self, MultiplicityMin=[2], cta_goal=True, ax=None, **
17001700 ax = plt .gca () if ax is None else ax
17011701
17021702 if cta_goal :
1703- ax = plot_angular_res_requirement (self .site , ax = ax , color = 'black' )
1703+ ax = plot_angular_res_cta_requirements (self .site , ax = ax , color = 'black' )
17041704
17051705 if len (MultiplicityMin ) > 1 and not 'alpha' in kwargs :
17061706 kwargs ['alpha' ] = 0.8
@@ -1767,7 +1767,7 @@ def effective_area_per_energy(self, MultiplicityMin=[2], cta_goal=True, ax=None,
17671767 ax = plt .gca () if ax is None else ax
17681768
17691769 if cta_goal :
1770- ax = plot_effective_area_requirement (self .site , ax = ax , color = 'black' )
1770+ ax = plot_effective_area_cta_requirements (self .site , ax = ax , color = 'black' )
17711771
17721772 if len (MultiplicityMin ) > 1 and not 'alpha' in kwargs :
17731773 kwargs ['alpha' ] = 0.8
@@ -1868,7 +1868,7 @@ def energy_resolution(self, cta_goal=True, MultiplicityMin=[2], bias_correction=
18681868 ax = plt .gca ()
18691869
18701870 if cta_goal :
1871- ax = plot_energy_resolution_requirements (self .site , ax = ax , color = 'black' )
1871+ ax = plot_energy_resolution_cta_requirements (self .site , ax = ax , color = 'black' )
18721872
18731873 alpha = 1.0
18741874 if len (MultiplicityMin ) > 1 :
0 commit comments