Harmonic midpoint structures
get_harmonic_midpointsCalculate midpoint structures in a birth chart for a chosen harmonic, such as harmonic 5 or 7, from birth date, time, and place, ranked by orb.
Instructions
Call this when someone asks which midpoint structures a birth chart has in one harmonic, such as harmonic 5 or 7, for a birth date, time and place. Why: the chart is cast once by the configured engine, each longitude is multiplied by the harmonic, and the classic midpoint method tests every pair of points, so the same input always gives the same structures. With ENGINE=stub they are placeholders, and the text starts with a PLACEHOLDER line. Returns: a headline with the structure count and the tightest structure; the harmonic positions of the bodies, Ascendant and Midheaven; up to limit structures (default 12, at most 50) ranked by orb, each with its focus point, the two points whose midpoint it is, the aspect, orb, strength and the midpoint's sign and degree; the total count; and the harmonic, house system, UT moment, place and provenance. Input ayanamsa sets the zodiac the longitudes are multiplied in: tropical by default, or lahiri, fagan_bradley, raman or krishnamurti for sidereal longitudes; a sidereal result names the ayanamsa in meta. Gives positions and facts only, with no interpretation. Pass either place, or latitude, longitude and timezone. One harmonic per call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many midpoint structures to return, tightest orb first, from 1 to 50. Leave out for 12. | |
| place | No | Birth place to look up, as a name like 'Austin, TX', or one of these shorthands, which stand alone with no region or country: 'NYC', 'New York', 'LA', 'L.A.', 'SF', 'San Fran', 'DC', 'Philly', 'Vegas', 'Peking' or 'Saigon'. Give this or latitude, longitude and timezone, not both. Anything else must be a place name in the GeoNames table, or latitude, longitude and time zone given directly. | |
| ayanamsa | No | Zodiac for the positions: tropical, lahiri, fagan_bradley, raman, krishnamurti. Leave out for tropical. A sidereal value such as lahiri gives sidereal longitudes, with the ayanamsa subtracted from the tropical ones. Pass the value even when a person uses another name for it: tropical is also called Western or sayana; lahiri is also called Lahiri, Chitra Paksha or Indian national ayanamsa; fagan_bradley is also called Fagan-Bradley, Fagan/Bradley or Western sidereal; raman is also called Raman or B. V. Raman; krishnamurti is also called Krishnamurti, KP or K.P.. | tropical |
| harmonic | Yes | Harmonic H, a whole number from 1 to 10000, for example 5. Every longitude is multiplied by H before the midpoints are read; 1 is the natal chart. | |
| latitude | No | Birth latitude in signed decimal degrees, north positive, for example 30.2672. Give with longitude and timezone instead of place. | |
| timezone | No | IANA time zone name for the birth time, such as America/Chicago, America/New_York, America/Los_Angeles, or Europe/London. Give with latitude and longitude instead of place. | |
| longitude | No | Birth longitude in signed decimal degrees, east positive, for example -97.7431. Give with latitude and timezone instead of place. | |
| birth_date | Yes | Birth date in the local calendar of the birth place, as YYYY-MM-DD, for example 1990-06-15. | |
| birth_time | Yes | Birth clock time in the local time of the birth place, 24-hour HH:MM, for example 19:30. | |
| house_system | No | House system that sets the house cusps: one of placidus, koch, equal, campanus, regiomontanus, porphyry, whole_sign. Leave out for placidus. Pass the value even when a person uses another name for it: placidus is also called Placidus or Plac; koch is also called Koch, birthplace houses or GOH; equal is also called Equal house or equal from the Ascendant; campanus is also called Campanus or Camp; regiomontanus is also called Regiomontanus or Regio; porphyry is also called Porphyry or Porph; whole_sign is also called Whole Sign, whole-sign houses, sign houses or WSH. | placidus |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | Yes | Settings and provenance behind the numbers. | |
| missing | Yes | Object codes the engine did not compute, so no structure uses them. Empty when all were computed. | |
| headline | Yes | The harmonic, the number of midpoint structures and the tightest one, as plain text. | |
| structures | Yes | Classic midpoint structures in this harmonic, ranked by orb. | |
| harmonic_positions | Yes | Positions in the harmonic chart: each longitude is the natal longitude times the harmonic. |