# Placidus against Whole Sign on 2025 US birth times: data and code

Data and code behind the ZodiScope study at
https://www.zodiscope.io/journal/placidus-vs-whole-sign

Free to reuse with credit to ZodiScope (zodiscope.io).

## Input

`../us-birth-times-2025/month_minute.csv`: every 2025 US birth in the CDC/NCHS
natality public-use file, counted by month and recorded clock minute
(3,619,476 records with a stated time). How that file is built from the CDC
download is in `../us-birth-times-2025/README.md`.

## Model (model figures, not counts of people)

`house_systems.py` casts the sky for every local clock minute of 2025 with the
NASA JPL DE440 ephemeris (`de440s.bsp`, from
https://ssd.jpl.nasa.gov/ftp/eph/planets/bsp/) through Skyfield 1.55: apparent
geocentric longitudes of the Sun, Moon and Mercury through Pluto, tropical
zodiac, ecliptic and equinox of date.

- The public birth file has no state and no day of the month. Each month's
  births are spread evenly over the days of that month in 2025, and all births
  are placed in one city at a time (the 13 cities of the birth time study,
  the fixed coordinates in `CITIES` in the script, each city's own time zone and 2025 daylight-saving
  rules). A city figure means "births timed like the US in 2025, born in this
  city". Selected shares also have an unweighted value (`sky`): every local
  clock time of 2025 at equal weight (1,440 clock labels per date, so the
  spring-forward hour is cast at the old offset and the repeated autumn hour
  once).
- Ascendant and Midheaven from apparent sidereal time and the true obliquity.
- **Placidus**: cusps 11, 12, 2 and 3 by the semi-arc method (the ecliptic
  point that has covered one or two thirds of its own semi-diurnal or
  semi-nocturnal arc), cusps 1 and 10 at the Ascendant and Midheaven, the
  rest opposite. Defined south of the polar circle; the script stops if a cusp
  cannot be found.
- **Whole Sign**: the sign holding the Ascendant is the 1st house, the next
  sign the 2nd, and so on.
- A planet "changes house" when its Placidus house number and its Whole Sign
  house number differ.
- Intercepted sign: a sign that holds no Placidus cusp.
- Birth time error: the chart recast 15 minutes earlier and 15 minutes later
  at the same place; a planet "moves" if its house differs in either.
  `any_planet_moves_*` counts a chart if any planet moves at either time.
  `mean_planets_moving_when_any` is the birth-weighted mean, over charts where
  any planet moves, of the larger of the two counts (at −15 and at +15
  minutes). It is not the number of distinct planets that move at one time or
  the other, so it can be lower than that number.
- `sun_moves_placidus_to_whole_sign` lists only the house pairs above 0.5% of
  charts, so its pairs add up to less than the Sun's share of house changes.

Run (about 3 minutes):

```
python3 house_systems.py --counts ../us-birth-times-2025/month_minute.csv \
    --ephem de440s.bsp --out house_systems_results.json
```

Output: `house_systems_results.json`.

To see how much each share depends on the year's sky, the same 2025 birth
times were also cast in the sky of 2022, 2023 and 2024 (`--year 2022` and so
on): `sky_2022_with_2025_birth_times.json`, `sky_2023_...`, `sky_2024_...`.
The Sun and Moon shares move by about half a point or less in every city; Mercury, Venus and the
slow planets move more. The page reads its numbers from
`apps/homepage/src/data/houseSystems2025.json`, which
`apps/homepage/scripts/build-house-systems-data.py` writes from this file.

## Checks

```
python3 house_systems.py --check --ephem de440s.bsp \
    --counts ../us-birth-times-2025/month_minute.csv --results house_systems_results.json
```

Needs pyswisseph 2.10 and PyEphem 4.2. Output of the published run:
`check_output.txt`.

1. Our Placidus cusps against the Swiss Ephemeris (`swe.houses_armc`) on 20,000
   random charts, latitudes 0° to 65°: largest difference 0.022 arcseconds.
2. The whole pipeline against an independent one (PyEphem planets, Swiss
   Ephemeris cusps from its own sidereal time, a plain-Python house lookup) for 5,000 random 2025 birth
   minutes in the study cities: the same Placidus and Whole Sign house for all
   50,000 planet placements.
3. The headline shares recomputed from 20,000 births drawn at random from the
   CDC counts per city (Miami, New York, Anchorage) by that independent route,
   with its own CSV reader and house lookup (no study helpers): every share within 1.1 percentage points of the published
   figure (the largest gap, 1.03 points, is New York Venus), in line with the spread that random samples of 20,000 give over 39 comparisons.
