Definition at line 365 of file samplers.py.
◆ result
◆ __init__()
| python.samplers.NullMomSampler.__init__ |
( |
| self, |
|
|
| mass = 0.0 ) |
Definition at line 368 of file samplers.py.
368 def __init__(self, mass=0.0):
369 self.mass = mass
370
◆ __call__()
| python.samplers.Sampler.__call__ |
( |
| self | ) |
|
|
inherited |
This is the call method that will actually be used (so that normal
functions can also be passed in as samplers).
Definition at line 17 of file samplers.py.
17 def __call__(self):
18 """This is the call method that will actually be used (so that normal
19 functions can also be passed in as samplers)."""
20 return self.shoot()
21
◆ mass() [1/2]
| python.samplers.NullMomSampler.mass |
( |
| self | ) |
|
Definition at line 372 of file samplers.py.
372 def mass(self):
373 "Mass sampler"
374 return self._m
◆ mass() [2/2]
| python.samplers.NullMomSampler.mass |
( |
| self, |
|
|
| x ) |
Definition at line 376 of file samplers.py.
376 def mass(self, x):
377 self._m = mksampler(x)
378
◆ shoot()
| python.samplers.NullMomSampler.shoot |
( |
| self | ) |
|
◆ _m
◆ mass
| python.samplers.NullMomSampler.mass = mass |
The documentation for this class was generated from the following file: