Quincunx in the default aspects, sign-based moon phases, backend recalculate command
- AspectSet::Standard (default): the major aspects and the quincunx; forecasts use it too - Moon phase: new, quarter and full moon only within 12° and in the matching signs - backend recalculate: recalculates stored charts, comparisons and forecasts, then queues every analysis again (nobody is charged) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
@@ -37,8 +37,15 @@ const NEAR_DAYS: f64 = 200.0;
|
||||
|
||||
const TRANSITING: [Body; 5] = [Body::Jupiter, Body::Saturn, Body::Uranus, Body::Neptune, Body::Pluto];
|
||||
const PROGRESSED: [Body; 5] = [Body::Sun, Body::Moon, Body::Mercury, Body::Venus, Body::Mars];
|
||||
const ASPECTS: [AspectKind; 5] =
|
||||
[AspectKind::Conjunction, AspectKind::Sextile, AspectKind::Square, AspectKind::Trine, AspectKind::Opposition];
|
||||
/// The aspects of the default chart (`AspectSet::Standard`): the major ones and the quincunx.
|
||||
const ASPECTS: [AspectKind; 6] = [
|
||||
AspectKind::Conjunction,
|
||||
AspectKind::Sextile,
|
||||
AspectKind::Square,
|
||||
AspectKind::Trine,
|
||||
AspectKind::Quincunx,
|
||||
AspectKind::Opposition,
|
||||
];
|
||||
|
||||
type Result<T> = std::result::Result<T, EngineError>;
|
||||
|
||||
@@ -409,7 +416,7 @@ impl Year<'_> {
|
||||
|
||||
// The progressed lunation phase: the progressed Moon's distance from the progressed Sun.
|
||||
let (sun, moon) = (&samples[0], &samples[1]);
|
||||
let phase_at = |i: usize| phase_name((moon.lon[i] - sun.lon[i]).rem_euclid(360.0));
|
||||
let phase_at = |i: usize| phase_name(sun.lon[i], moon.lon[i]);
|
||||
let lunar_phase = phase_at(0);
|
||||
let lunar_phase_change = if known {
|
||||
(1..moon.lon.len())
|
||||
|
||||
Reference in New Issue
Block a user