@hebcal/core
    Preparing search index...

    Type Alias HorizonProfile

    HorizonProfile:
        | number
        | readonly HorizonSample[]
        | ((azimuth: number) => number)

    The apparent altitude of the skyline as a function of compass azimuth. May be one of:

    • a constant number — the same elevation in every direction;
    • a non-empty list of HorizonSamples in any order or spacing, with azimuths in [0, 360), linearly interpolated (wrapping past 360°/0°);
    • a function (azimuth: number) => number returning the elevation in degrees for a given azimuth.