Skip to content

Commit

Permalink
Add a script to display the pedestal evolution (ShowPedestalEvolution…
Browse files Browse the repository at this point in the history
…). Add a script to show the content of trigger types in the data (ShowDataContent.py). Modification of the function to get the time of maximum and the max of the rise time in Utils.py (cta-observatory#70)
  • Loading branch information
vmarandon authored and guillaume.grolleron committed Jul 9, 2023
1 parent 9b4fc9e commit 90edb8b
Show file tree
Hide file tree
Showing 5 changed files with 738 additions and 50 deletions.
20 changes: 12 additions & 8 deletions src/nectarchain/user_scripts/vmarandon/CalibrationData.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@

from IPython import embed

class CalibrationCameraDisplay(CameraDisplay):

def __init__(self,*args, **kwargs):
super().__init__(*args,**kwargs)

def set_function(self,func_name):
self.clickfunc = func_name

def on_pixel_clicked(self, pix_id):
self.clickfunc(pix_id)


class CalibInfo:
def __init__(self):
self.tel = dict()
Expand Down Expand Up @@ -190,14 +202,6 @@ class IntegratedRawData:
t0: int = field(default=0, compare=False)


class CalibrationCameraDisplay(CameraDisplay):

def set_function(self,func_name):
self.clickfunc = func_name

def on_pixel_clicked(self, pix_id):
self.clickfunc(pix_id)


class RawDataCameraDisplay(CameraDisplay):
def __init__(self,HG=True,wvf=None,*args, **kwargs):
Expand Down
Loading

0 comments on commit 90edb8b

Please sign in to comment.