sdepy.lognorm_SDE.source_dj¶
-
lognorm_SDE.source_dj(dj=None, dn=None, ptype=<class 'int'>, lam=1.0, y=None)¶ Set up a source of compound Poisson process increments (jumps), to be used as ‘dj’ during integration.
Parameters: - dj : source, or source subclass, or None
If an object complying with the
sourceprotocol, it is returned (ptype,lamandy, as well asself.dtypeandself.rng, are ignored). If a source subclass, it is instantiated with the given parameters, and returned. If None, a new instance ofcpoisson_sourceis returned, with the given parameters.- ptype, lam, y : see
cpoisson_sourcedocumentation
Returns: - An object complying with the
sourceprotocol, - instantiating the requested stochasticity source.
- The shape and paths of source values are set to
self.paths,self.wshaperespectively.- If instantiated,
dtype=self.dtypeandrng=self.rng - keywords are used upon instantiation.
See also