/** * The seasonal attributes on a ``. * * A wave is `amplitude·cos(2π·(i − peak)/period)`, and `period`, `amplitude` and * `peak_at` describe the SAME waves position by position: `period="7,365"` with * `amplitude="120,400"` is a weekly wave 120 tall and a yearly one 400 tall. * Lengths that disagree describe no wave anybody can draw, so they are refused * rather than half-honoured. * * `peak_at` names the row the wave is highest on. Without it the peak sits a * quarter period in, which is where a plain sine already peaked — and for a year * of daily rows that is early April, the one season nobody means by "warmer in * summer". It is a ROW, not a shift, because the row is what the author knows: * 182 of 365 is the first of July. It is in the same unit as `period`, which is * also counted in rows, so the two read as one idea rather than two. */ import type { Diagnostic } from '../errors/index.js'; import type { OpenCloseElementContext, SelfClosingElementContext } from '../generated/TDCParser.js'; export declare function checkGenTimeseries(gen: OpenCloseElementContext | SelfClosingElementContext, diagnostics: Diagnostic[]): void; //# sourceMappingURL=timeseries.d.ts.map