Skip to content

The calculation of Islamic prayer times is based on a combination of astronomical observations and mathematical formulas. The primary factors involved are the position of the sun in the sky and the rotation of the Earth.

Notifications You must be signed in to change notification settings

Skygers/The-calculation-of-Islamic-prayer-times

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The-calculation-of-Islamic-prayer-times

The IslamicPrayerTimesCalculator repository a calculation for accurately calculating Islamic prayer times. This repository houses advanced algorithms and methods designed to precisely determine the five daily prayer timings based on geographical, astronomical coordinates and calendar dates.

The Method Contain:

  1. Conversion of Calendar Gregorian (Anno Domini) to Julian Day: Our repository provides robust functions for seamlessly converting dates from the Gregorian (Anno Domini) calendar to Julian Day format. This crucial conversion facilitates precise astronomical calculations necessary for determining prayer times. You can see the conversion in KonversiJD.py

  2. Transformation Coordinate system: The calculation of tansformation of celestial coordinates between various coordinate systems.

    1. Ecliptic to Equatorial Transformation: Algorithms for converting celestial coordinates from the Geocentric Ecliptical Coordinate system to the Geocentric Equatorial coordinate system. alt text
    2. Equatorial to Ecliptic Transformation: convert celestial coordinates from the equatorial system to the ecliptic system. alt text
    3. Equatorial to Horizon Transformation: This conversion facilitates practical observation and navigation by providing the apparent positions of celestial objects as they appear from a specific location on Earth's surface, accounting for local observer parameters such as latitude, longitude, and time. alt text
  3. Calculation of Sun Declination Angle: The sun's declination angle plays a pivotal role in establishing the position of the sun relative to the Earth's equator. Our repository includes advanced methods for computing the sun's declination angle, considering factors such as the Earth's axial tilt and orbital position.

  4. Accurate Prayer Time Calculation: Leveraging the calculated day angle and sun declination angle, our repository employs precise formulas endorsed by leading Islamic scholars and institutions to determine the five daily prayer times: Fajr (Pre-Dawn), Dhuhr (Noon), Asr (Afternoon), Maghrib (Evening), and Isha (Night).

  5. Graphical User Interface (GUI) Prayer Time Calculation: GUI toolset offers flexibility for users to input their geographical coordinates, enabling personalized calculations tailored to specific locations worldwide. alt text

About

The calculation of Islamic prayer times is based on a combination of astronomical observations and mathematical formulas. The primary factors involved are the position of the sun in the sky and the rotation of the Earth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages