Skip to content

Commit

Permalink
Merge pull request #54 from luox-app/reorganise-basic-reporting
Browse files Browse the repository at this point in the history
Update CalculationTable.jsx
  • Loading branch information
spitschan authored Feb 23, 2021
2 parents 70b59f0 + 2206364 commit 0613a70
Showing 1 changed file with 36 additions and 35 deletions.
71 changes: 36 additions & 35 deletions src/javascript/components/CalculationTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,18 +143,18 @@ const CalculationTable = ({
samples={luminanceTotals}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading="CIE 1931 xy chromaticity (x)"
samples={chromaticity31.map(({ x }) => x)}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading="CIE 1931 xy chromaticity (y)"
samples={chromaticity31.map(({ y }) => y)}
exponentialNotation={exponentialNotation}
/>
{advanced && (
<>
<CalculationTableRow
heading="CIE 1931 xy chromaticity (x)"
samples={chromaticity31.map(({ x }) => x)}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading="CIE 1931 xy chromaticity (y)"
samples={chromaticity31.map(({ y }) => y)}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading="CIE 1964 x₁₀y₁₀ chromaticity (x₁₀)"
samples={chromaticity64.map(({ x }) => x)}
Expand Down Expand Up @@ -192,33 +192,34 @@ const CalculationTable = ({
samples={melTotals}
exponentialNotation={exponentialNotation}
/>

<CalculationTableRow
heading={`S-cone-opic ${equivalentDaylightUnit}`}
samples={equivalentDaylightAlphaOpic.sc}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading={`M-cone-opic ${equivalentDaylightUnit}`}
samples={equivalentDaylightAlphaOpic.mc}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading={`L-cone-opic ${equivalentDaylightUnit}`}
samples={equivalentDaylightAlphaOpic.lc}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading={`Rhodopic ${equivalentDaylightUnit}`}
samples={equivalentDaylightAlphaOpic.rh}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading={`Melanopic ${equivalentDaylightUnit}`}
samples={equivalentDaylightAlphaOpic.mel}
exponentialNotation={exponentialNotation}
/>
{advanced && (
<>
<CalculationTableRow
heading={`S-cone-opic ${equivalentDaylightUnit}`}
samples={equivalentDaylightAlphaOpic.sc}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading={`M-cone-opic ${equivalentDaylightUnit}`}
samples={equivalentDaylightAlphaOpic.mc}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading={`L-cone-opic ${equivalentDaylightUnit}`}
samples={equivalentDaylightAlphaOpic.lc}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading={`Rhodopic ${equivalentDaylightUnit}`}
samples={equivalentDaylightAlphaOpic.rh}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading={`Melanopic ${equivalentDaylightUnit}`}
samples={equivalentDaylightAlphaOpic.mel}
exponentialNotation={exponentialNotation}
/>
<CalculationTableRow
heading="S-cone-opic ELR"
samples={alphaOpicEfficiency.sc}
Expand Down

0 comments on commit 0613a70

Please sign in to comment.