v_sim.PairDistribution¶
Fields¶
Name |
Type |
Access |
Description |
|---|---|---|---|
ele1 |
r/w |
one |
|
ele2 |
r/w |
one |
|
histo |
r/w |
an array containing the distribution ; |
|
initValue |
r/w |
the initial distance value (usualy 0) ; |
|
nNodesEle1 |
r/w |
the number of nodes used during the computation ; |
|
nNodesEle2 |
r/w |
idem for |
|
nValues |
r/w |
the size of the array ; |
|
stepValue |
r/w |
the step increase in distance at each value ; |
Methods¶
|
Details¶
- class v_sim.PairDistribution¶
This structure stores for a given pair, the distance distribution on a given range [initValue;`nValues` * stepValue[.
- getNextPick(startStopId, integral, max, posMax)¶
- Parameters:
- Returns:
Trueif a pick is found.- Return type:
Try to find the next pick in the distribution. A pick is a group of consecutive non-null values, with a significant integral. On enter, startStopId contains the span to look into for the pick, and on output, it contains the span of the pick itself.
New in version 3.6.