Options
All
  • Public
  • Public/Protected
  • All
Menu

Interfaces and types

Index

Type aliases

Bin

Bin: [number, number, number]

A bin with start value (inclusive), end value (exclusive) and probability. Start and end values can also be null to refer to the 'None' bin in onset

Epiweek

Epiweek: number

Epiweek in format yyyyww

EpiweekWili

EpiweekWili: object

Epiweek and corresponding wili

Type declaration

EpiweekWiliLag

EpiweekWiliLag: object

Epiweek, its wili and other wilis at different lags

Type declaration

  • epiweek: Epiweek
  • lagData: object[]
  • wili: number

RegionId

RegionId: "nat" | "hhs1" | "hhs2" | "hhs3" | "hhs4" | "hhs5" | "hhs6" | "hhs7" | "hhs8" | "hhs9" | "hhs10"

Standard identifiers for the 11 regions

RegionTargetIndex

RegionTargetIndex: object

Generic type representing an object indexed by region and then target id

Type declaration

  • [index: string]: object
    • [index: string]: T

Score

Score: object

A unit representing various scores logScore is single bin log score logScoreMultiBin is multi bin log score error is true value - estimated value absError is abs(error)

Type declaration

  • absError: number
  • error: number
  • logScore: number
  • logScoreMultiBin: number

SeasonId

SeasonId: number

Season id using only first year of season. For example, season xxxx-yyyy is represented as xxxx

TargetId

TargetId: "1-ahead" | "2-ahead" | "3-ahead" | "4-ahead" | "peak" | "peak-wk" | "onset-wk"

Standard identifiers for the 7 targets

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc