Skip to content

Commit

Permalink
deploy: aa4e4e0
Browse files Browse the repository at this point in the history
  • Loading branch information
nsmith- committed Jun 18, 2024
1 parent a12532f commit 372dc4a
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 86 deletions.
28 changes: 26 additions & 2 deletions _downloads/87e1187fe70c7ee30d50bbacaa2b2cb5/schemav2.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,19 @@
"anyOf": [
{
"items": {
"type": "number"
"anyOf": [
{
"type": "number"
},
{
"enum": [
"inf",
"+inf",
"-inf"
],
"type": "string"
}
]
},
"type": "array"
},
Expand Down Expand Up @@ -575,7 +587,19 @@
"anyOf": [
{
"items": {
"type": "number"
"anyOf": [
{
"type": "number"
},
{
"enum": [
"inf",
"+inf",
"-inf"
],
"type": "string"
}
]
},
"type": "array"
},
Expand Down
180 changes: 97 additions & 83 deletions schemav2.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,116 +188,123 @@ <h1>Schema v2<a class="headerlink" href="#schema-v2" title="Link to this heading
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>type</p></td>
<td colspan="4"><p><em>object</em></p></td>
<td colspan="5"><p><em>object</em></p></td>
</tr>
<tr class="row-even"><td colspan="5"><p>properties</p></td>
<tr class="row-even"><td colspan="6"><p>properties</p></td>
</tr>
<tr class="row-odd"><td rowspan="4"><ul class="simple">
<li><p><strong>nodetype</strong></p></li>
</ul>
</td>
<td colspan="4"><p><em>Nodetype</em></p></td>
<td colspan="5"><p><em>Nodetype</em></p></td>
</tr>
<tr class="row-even"><td><p>type</p></td>
<td colspan="3"><p><em>string</em></p></td>
<td colspan="4"><p><em>string</em></p></td>
</tr>
<tr class="row-odd"><td><p>enum</p></td>
<td colspan="3"><p>binning</p></td>
<td colspan="4"><p>binning</p></td>
</tr>
<tr class="row-even"><td><p>const</p></td>
<td colspan="3"><p>binning</p></td>
<td colspan="4"><p>binning</p></td>
</tr>
<tr class="row-odd"><td rowspan="3"><ul class="simple">
<li><p><strong>input</strong></p></li>
</ul>
</td>
<td colspan="4"><p><em>Input</em></p></td>
<td colspan="5"><p><em>Input</em></p></td>
</tr>
<tr class="row-even"><td colspan="4"><p>The name of the correction input variable this binning applies to</p></td>
<tr class="row-even"><td colspan="5"><p>The name of the correction input variable this binning applies to</p></td>
</tr>
<tr class="row-odd"><td><p>type</p></td>
<td colspan="3"><p><em>string</em></p></td>
<td colspan="4"><p><em>string</em></p></td>
</tr>
<tr class="row-even"><td rowspan="5"><ul class="simple">
<tr class="row-even"><td rowspan="7"><ul class="simple">
<li><p><strong>edges</strong></p></li>
</ul>
</td>
<td colspan="4"><p><em>Edges</em></p></td>
<td colspan="5"><p><em>Edges</em></p></td>
</tr>
<tr class="row-odd"><td colspan="4"><p>Edges of the binning, either as a list of monotonically increasing floats or as an instance of UniformBinning. edges[i] &lt;= x &lt; edges[i+1] =&gt; f(x, …) = content[i](…)</p></td>
<tr class="row-odd"><td colspan="5"><p>Edges of the binning, either as a list of monotonically increasing floats or as an instance of UniformBinning. edges[i] &lt;= x &lt; edges[i+1] =&gt; f(x, …) = content[i](…)</p></td>
</tr>
<tr class="row-even"><td rowspan="3"><p>anyOf</p></td>
<tr class="row-even"><td rowspan="5"><p>anyOf</p></td>
<td><p>type</p></td>
<td colspan="2"><p><em>array</em></p></td>
<td colspan="3"><p><em>array</em></p></td>
</tr>
<tr class="row-odd"><td><p>items</p></td>
<tr class="row-odd"><td rowspan="3"><p>items</p></td>
<td rowspan="3"><p>anyOf</p></td>
<td><p>type</p></td>
<td><p><em>number</em></p></td>
</tr>
<tr class="row-even"><td colspan="3"><p><a class="reference internal" href="#uniformbinning">UniformBinning</a></p></td>
<tr class="row-even"><td><p>type</p></td>
<td><p><em>string</em></p></td>
</tr>
<tr class="row-odd"><td><p>enum</p></td>
<td><p>inf, +inf, -inf</p></td>
</tr>
<tr class="row-even"><td colspan="4"><p><a class="reference internal" href="#uniformbinning">UniformBinning</a></p></td>
</tr>
<tr class="row-odd"><td rowspan="10"><ul class="simple">
<li><p><strong>content</strong></p></li>
</ul>
</td>
<td colspan="4"><p><em>Content</em></p></td>
<td colspan="5"><p><em>Content</em></p></td>
</tr>
<tr class="row-even"><td><p>type</p></td>
<td colspan="3"><p><em>array</em></p></td>
<td colspan="4"><p><em>array</em></p></td>
</tr>
<tr class="row-odd"><td rowspan="8"><p>items</p></td>
<td rowspan="8"><p>anyOf</p></td>
<td colspan="2"><p><a class="reference internal" href="#binning">Binning</a></p></td>
<td colspan="3"><p><a class="reference internal" href="#binning">Binning</a></p></td>
</tr>
<tr class="row-even"><td colspan="2"><p><a class="reference internal" href="#multibinning">MultiBinning</a></p></td>
<tr class="row-even"><td colspan="3"><p><a class="reference internal" href="#multibinning">MultiBinning</a></p></td>
</tr>
<tr class="row-odd"><td colspan="2"><p><a class="reference internal" href="#category">Category</a></p></td>
<tr class="row-odd"><td colspan="3"><p><a class="reference internal" href="#category">Category</a></p></td>
</tr>
<tr class="row-even"><td colspan="2"><p><a class="reference internal" href="#formula">Formula</a></p></td>
<tr class="row-even"><td colspan="3"><p><a class="reference internal" href="#formula">Formula</a></p></td>
</tr>
<tr class="row-odd"><td colspan="2"><p><a class="reference internal" href="#formularef">FormulaRef</a></p></td>
<tr class="row-odd"><td colspan="3"><p><a class="reference internal" href="#formularef">FormulaRef</a></p></td>
</tr>
<tr class="row-even"><td colspan="2"><p><a class="reference internal" href="#transform">Transform</a></p></td>
<tr class="row-even"><td colspan="3"><p><a class="reference internal" href="#transform">Transform</a></p></td>
</tr>
<tr class="row-odd"><td colspan="2"><p><a class="reference internal" href="#hashprng">HashPRNG</a></p></td>
<tr class="row-odd"><td colspan="3"><p><a class="reference internal" href="#hashprng">HashPRNG</a></p></td>
</tr>
<tr class="row-even"><td><p>type</p></td>
<td><p><em>number</em></p></td>
<td colspan="2"><p><em>number</em></p></td>
</tr>
<tr class="row-odd"><td rowspan="12"><ul class="simple">
<li><p><strong>flow</strong></p></li>
</ul>
</td>
<td colspan="4"><p><em>Flow</em></p></td>
<td colspan="5"><p><em>Flow</em></p></td>
</tr>
<tr class="row-even"><td colspan="4"><p>Overflow behavior for out-of-bounds values</p></td>
<tr class="row-even"><td colspan="5"><p>Overflow behavior for out-of-bounds values</p></td>
</tr>
<tr class="row-odd"><td rowspan="10"><p>anyOf</p></td>
<td colspan="3"><p><a class="reference internal" href="#binning">Binning</a></p></td>
<td colspan="4"><p><a class="reference internal" href="#binning">Binning</a></p></td>
</tr>
<tr class="row-even"><td colspan="3"><p><a class="reference internal" href="#multibinning">MultiBinning</a></p></td>
<tr class="row-even"><td colspan="4"><p><a class="reference internal" href="#multibinning">MultiBinning</a></p></td>
</tr>
<tr class="row-odd"><td colspan="3"><p><a class="reference internal" href="#category">Category</a></p></td>
<tr class="row-odd"><td colspan="4"><p><a class="reference internal" href="#category">Category</a></p></td>
</tr>
<tr class="row-even"><td colspan="3"><p><a class="reference internal" href="#formula">Formula</a></p></td>
<tr class="row-even"><td colspan="4"><p><a class="reference internal" href="#formula">Formula</a></p></td>
</tr>
<tr class="row-odd"><td colspan="3"><p><a class="reference internal" href="#formularef">FormulaRef</a></p></td>
<tr class="row-odd"><td colspan="4"><p><a class="reference internal" href="#formularef">FormulaRef</a></p></td>
</tr>
<tr class="row-even"><td colspan="3"><p><a class="reference internal" href="#transform">Transform</a></p></td>
<tr class="row-even"><td colspan="4"><p><a class="reference internal" href="#transform">Transform</a></p></td>
</tr>
<tr class="row-odd"><td colspan="3"><p><a class="reference internal" href="#hashprng">HashPRNG</a></p></td>
<tr class="row-odd"><td colspan="4"><p><a class="reference internal" href="#hashprng">HashPRNG</a></p></td>
</tr>
<tr class="row-even"><td><p>type</p></td>
<td colspan="2"><p><em>number</em></p></td>
<td colspan="3"><p><em>number</em></p></td>
</tr>
<tr class="row-odd"><td><p>type</p></td>
<td colspan="2"><p><em>string</em></p></td>
<td colspan="3"><p><em>string</em></p></td>
</tr>
<tr class="row-even"><td><p>enum</p></td>
<td colspan="2"><p>clamp, error</p></td>
<td colspan="3"><p>clamp, error</p></td>
</tr>
<tr class="row-odd"><td><p>additionalProperties</p></td>
<td colspan="4"><p>False</p></td>
<td colspan="5"><p>False</p></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -923,134 +930,141 @@ <h1>Schema v2<a class="headerlink" href="#schema-v2" title="Link to this heading
<table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>type</p></td>
<td colspan="5"><p><em>object</em></p></td>
<td colspan="6"><p><em>object</em></p></td>
</tr>
<tr class="row-even"><td colspan="6"><p>properties</p></td>
<tr class="row-even"><td colspan="7"><p>properties</p></td>
</tr>
<tr class="row-odd"><td rowspan="4"><ul class="simple">
<li><p><strong>nodetype</strong></p></li>
</ul>
</td>
<td colspan="5"><p><em>Nodetype</em></p></td>
<td colspan="6"><p><em>Nodetype</em></p></td>
</tr>
<tr class="row-even"><td><p>type</p></td>
<td colspan="4"><p><em>string</em></p></td>
<td colspan="5"><p><em>string</em></p></td>
</tr>
<tr class="row-odd"><td><p>enum</p></td>
<td colspan="4"><p>multibinning</p></td>
<td colspan="5"><p>multibinning</p></td>
</tr>
<tr class="row-even"><td><p>const</p></td>
<td colspan="4"><p>multibinning</p></td>
<td colspan="5"><p>multibinning</p></td>
</tr>
<tr class="row-odd"><td rowspan="5"><ul class="simple">
<li><p><strong>inputs</strong></p></li>
</ul>
</td>
<td colspan="5"><p><em>Inputs</em></p></td>
<td colspan="6"><p><em>Inputs</em></p></td>
</tr>
<tr class="row-even"><td colspan="5"><p>The names of the correction input variables this binning applies to</p></td>
<tr class="row-even"><td colspan="6"><p>The names of the correction input variables this binning applies to</p></td>
</tr>
<tr class="row-odd"><td><p>type</p></td>
<td colspan="4"><p><em>array</em></p></td>
<td colspan="5"><p><em>array</em></p></td>
</tr>
<tr class="row-even"><td><p>items</p></td>
<td><p>type</p></td>
<td colspan="3"><p><em>string</em></p></td>
<td colspan="4"><p><em>string</em></p></td>
</tr>
<tr class="row-odd"><td><p>minItems</p></td>
<td colspan="4"><p>1</p></td>
<td colspan="5"><p>1</p></td>
</tr>
<tr class="row-even"><td rowspan="6"><ul class="simple">
<tr class="row-even"><td rowspan="8"><ul class="simple">
<li><p><strong>edges</strong></p></li>
</ul>
</td>
<td colspan="5"><p><em>Edges</em></p></td>
<td colspan="6"><p><em>Edges</em></p></td>
</tr>
<tr class="row-odd"><td colspan="5"><p>Bin edges for each input</p></td>
<tr class="row-odd"><td colspan="6"><p>Bin edges for each input</p></td>
</tr>
<tr class="row-even"><td><p>type</p></td>
<td colspan="4"><p><em>array</em></p></td>
<td colspan="5"><p><em>array</em></p></td>
</tr>
<tr class="row-odd"><td rowspan="3"><p>items</p></td>
<td rowspan="3"><p>anyOf</p></td>
<tr class="row-odd"><td rowspan="5"><p>items</p></td>
<td rowspan="5"><p>anyOf</p></td>
<td><p>type</p></td>
<td colspan="2"><p><em>array</em></p></td>
<td colspan="3"><p><em>array</em></p></td>
</tr>
<tr class="row-even"><td><p>items</p></td>
<tr class="row-even"><td rowspan="3"><p>items</p></td>
<td rowspan="3"><p>anyOf</p></td>
<td><p>type</p></td>
<td><p><em>number</em></p></td>
</tr>
<tr class="row-odd"><td colspan="3"><p><a class="reference internal" href="#uniformbinning">UniformBinning</a></p></td>
<tr class="row-odd"><td><p>type</p></td>
<td><p><em>string</em></p></td>
</tr>
<tr class="row-even"><td><p>enum</p></td>
<td><p>inf, +inf, -inf</p></td>
</tr>
<tr class="row-odd"><td colspan="4"><p><a class="reference internal" href="#uniformbinning">UniformBinning</a></p></td>
</tr>
<tr class="row-even"><td rowspan="11"><ul class="simple">
<li><p><strong>content</strong></p></li>
</ul>
</td>
<td colspan="5"><p><em>Content</em></p></td>
<td colspan="6"><p><em>Content</em></p></td>
</tr>
<tr class="row-odd"><td colspan="5"><dl class="simple">
<tr class="row-odd"><td colspan="6"><dl class="simple">
<dt>Bin contents as a flattened array</dt><dd><p>This is a C-ordered array, i.e. content[d1*d2*d3*i0 + d2*d3*i1 + d3*i2 + i3] corresponds
to the element at i0 in dimension 0, i1 in dimension 1, etc. and d0 = len(edges[0])-1, etc.</p>
</dd>
</dl>
</td>
</tr>
<tr class="row-even"><td><p>type</p></td>
<td colspan="4"><p><em>array</em></p></td>
<td colspan="5"><p><em>array</em></p></td>
</tr>
<tr class="row-odd"><td rowspan="8"><p>items</p></td>
<td rowspan="8"><p>anyOf</p></td>
<td colspan="3"><p><a class="reference internal" href="#binning">Binning</a></p></td>
<td colspan="4"><p><a class="reference internal" href="#binning">Binning</a></p></td>
</tr>
<tr class="row-even"><td colspan="3"><p><a class="reference internal" href="#multibinning">MultiBinning</a></p></td>
<tr class="row-even"><td colspan="4"><p><a class="reference internal" href="#multibinning">MultiBinning</a></p></td>
</tr>
<tr class="row-odd"><td colspan="3"><p><a class="reference internal" href="#category">Category</a></p></td>
<tr class="row-odd"><td colspan="4"><p><a class="reference internal" href="#category">Category</a></p></td>
</tr>
<tr class="row-even"><td colspan="3"><p><a class="reference internal" href="#formula">Formula</a></p></td>
<tr class="row-even"><td colspan="4"><p><a class="reference internal" href="#formula">Formula</a></p></td>
</tr>
<tr class="row-odd"><td colspan="3"><p><a class="reference internal" href="#formularef">FormulaRef</a></p></td>
<tr class="row-odd"><td colspan="4"><p><a class="reference internal" href="#formularef">FormulaRef</a></p></td>
</tr>
<tr class="row-even"><td colspan="3"><p><a class="reference internal" href="#transform">Transform</a></p></td>
<tr class="row-even"><td colspan="4"><p><a class="reference internal" href="#transform">Transform</a></p></td>
</tr>
<tr class="row-odd"><td colspan="3"><p><a class="reference internal" href="#hashprng">HashPRNG</a></p></td>
<tr class="row-odd"><td colspan="4"><p><a class="reference internal" href="#hashprng">HashPRNG</a></p></td>
</tr>
<tr class="row-even"><td><p>type</p></td>
<td colspan="2"><p><em>number</em></p></td>
<td colspan="3"><p><em>number</em></p></td>
</tr>
<tr class="row-odd"><td rowspan="12"><ul class="simple">
<li><p><strong>flow</strong></p></li>
</ul>
</td>
<td colspan="5"><p><em>Flow</em></p></td>
<td colspan="6"><p><em>Flow</em></p></td>
</tr>
<tr class="row-even"><td colspan="5"><p>Overflow behavior for out-of-bounds values</p></td>
<tr class="row-even"><td colspan="6"><p>Overflow behavior for out-of-bounds values</p></td>
</tr>
<tr class="row-odd"><td rowspan="10"><p>anyOf</p></td>
<td colspan="4"><p><a class="reference internal" href="#binning">Binning</a></p></td>
<td colspan="5"><p><a class="reference internal" href="#binning">Binning</a></p></td>
</tr>
<tr class="row-even"><td colspan="4"><p><a class="reference internal" href="#multibinning">MultiBinning</a></p></td>
<tr class="row-even"><td colspan="5"><p><a class="reference internal" href="#multibinning">MultiBinning</a></p></td>
</tr>
<tr class="row-odd"><td colspan="4"><p><a class="reference internal" href="#category">Category</a></p></td>
<tr class="row-odd"><td colspan="5"><p><a class="reference internal" href="#category">Category</a></p></td>
</tr>
<tr class="row-even"><td colspan="4"><p><a class="reference internal" href="#formula">Formula</a></p></td>
<tr class="row-even"><td colspan="5"><p><a class="reference internal" href="#formula">Formula</a></p></td>
</tr>
<tr class="row-odd"><td colspan="4"><p><a class="reference internal" href="#formularef">FormulaRef</a></p></td>
<tr class="row-odd"><td colspan="5"><p><a class="reference internal" href="#formularef">FormulaRef</a></p></td>
</tr>
<tr class="row-even"><td colspan="4"><p><a class="reference internal" href="#transform">Transform</a></p></td>
<tr class="row-even"><td colspan="5"><p><a class="reference internal" href="#transform">Transform</a></p></td>
</tr>
<tr class="row-odd"><td colspan="4"><p><a class="reference internal" href="#hashprng">HashPRNG</a></p></td>
<tr class="row-odd"><td colspan="5"><p><a class="reference internal" href="#hashprng">HashPRNG</a></p></td>
</tr>
<tr class="row-even"><td><p>type</p></td>
<td colspan="3"><p><em>number</em></p></td>
<td colspan="4"><p><em>number</em></p></td>
</tr>
<tr class="row-odd"><td><p>type</p></td>
<td colspan="3"><p><em>string</em></p></td>
<td colspan="4"><p><em>string</em></p></td>
</tr>
<tr class="row-even"><td><p>enum</p></td>
<td colspan="3"><p>clamp, error</p></td>
<td colspan="4"><p>clamp, error</p></td>
</tr>
<tr class="row-odd"><td><p>additionalProperties</p></td>
<td colspan="5"><p>False</p></td>
<td colspan="6"><p>False</p></td>
</tr>
</tbody>
</table>
Expand Down
Loading

0 comments on commit 372dc4a

Please sign in to comment.