Definition at line 457 of file __init__.py.
def wirecell.sigproc.response.foo.__init__ |
( |
|
self | ) |
|
def wirecell.sigproc.response.foo.__call__ |
( |
|
self, |
|
|
|
plane, |
|
|
|
impact, |
|
|
|
region = None |
|
) |
| |
Return a response block by plane (0,1,2) and by impact
(-4,...,0,...,5) and optionally by region (-10,...,0,...,10).
If region is None, return corresponding (Nregions,Ntbins)
array. If region is given, return (Ntbins) array. The impact
(and region) numbers may be negative.
Definition at line 464 of file __init__.py.
466 Return a response block by plane (0,1,2) and by impact 467 (-4,...,0,...,5) and optionally by region (-10,...,0,...,10). 469 If region is None, return corresponding (Nregions,Ntbins) 470 array. If region is given, return (Ntbins) array. The impact 471 (and region) numbers may be negative. 473 pib = self.pibs[plane]
477 return numpy.flipud(pib[-impact])
480 return pib[impact, region]
def impact_region_numbers_to_indices(self, impact, region)
def __call__(self, plane, impact, region=None)
def wirecell.sigproc.response.foo.impact_range |
( |
|
self | ) |
|
Definition at line 491 of file __init__.py.
492 max_impact = len(self.pibs[0]) - 1
493 return range(-max_impact, max_impact)
def wirecell.sigproc.response.foo.impact_region_numbers_to_indices |
( |
|
self, |
|
|
|
impact, |
|
|
|
region |
|
) |
| |
Definition at line 482 of file __init__.py.
487 return (impact,region)
def impact_region_numbers_to_indices(self, impact, region)
def wirecell.sigproc.response.foo.nregions |
( |
|
self | ) |
|
Definition at line 500 of file __init__.py.
501 return self.pibs[0][0].shape[0]
def wirecell.sigproc.response.foo.ntbins |
( |
|
self | ) |
|
Definition at line 503 of file __init__.py.
504 return self.pibs[0][0].shape[1]
def wirecell.sigproc.response.foo.region_range |
( |
|
self | ) |
|
Definition at line 495 of file __init__.py.
497 return range(-nhalf_regions, nhalf_regions+1)
wirecell.sigproc.response.foo.region_center |
The documentation for this class was generated from the following file:
- wire-cell-build/python/wirecell/sigproc/response/__init__.py