jyotisham / jyotisha

Python tools for the astronomical / astrological vedAnga of Hindus
MIT License
88 stars 52 forks source link

Mistake in accessing angas? #100

Closed karthikraman closed 3 years ago

karthikraman commented 3 years ago

image

Is there a bug here? At both the times indicated (sunrise and sunset on 2021-04-25), the nakshatra is Hasta=13 only.. Not sure why 14, 15 are showing up.

Used: d0_angas = daily_panchaanga.day_length_based_periods.dinamaana.get_boundary_angas(anga_type=AngaType.NAKSHATRA, ayanaamsha_id=panchaanga.ayanaamsha_id)

What am I misunderstanding?

karthikraman commented 3 years ago

ayanamsha should be panchaanga.computation_system.ayanaamsha_id