import json
from pathlib import Path
p=json.loads((Path(__file__).resolve().parent.parent/'model/compact_festival_source_packet.json').read_text())
for name in p['orders']:
weights=p['weights'] if name=='forward' else list(reversed(p['weights']))
total=0; dates=[p['anchor_BC']]
for weight in weights:
total+=weight; dates.append(p['anchor_BC']-p['scale']*total)
print(name, dates)
Evidence
regenerate festival.py
Edition and provenance
regenerate_festival.py
SHA-256 eb4bc86e3467bc6214904243d5bd73b8a64ecc7927ef5df03a4f975b38b9676a
C480–C1634/Research_Cycles/C0832_C0931/evidence/regenerate_festival.py