Next Article in Journal
Global Practical Output Tracking for a Class of Uncertain Inherently Time-Varying Delay Nonlinear Systems by Output Feedback
Previous Article in Journal
Paired Patterns in Logical Analysis of Data for Decision Support in Recognition
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Pattern-Recognizer Artificial Neural Network for the Prediction of New Crescent Visibility in Iraq

Department of Computer Engineering, College of Engineering, University of Baghdad, Baghdad 10071, Iraq
Computation 2022, 10(10), 186; https://doi.org/10.3390/computation10100186
Submission received: 21 September 2022 / Revised: 5 October 2022 / Accepted: 6 October 2022 / Published: 13 October 2022

Abstract

:
Various theories have been proposed since in last century to predict the first sighting of a new crescent moon. None of them uses the concept of machine and deep learning to process, interpret and simulate patterns hidden in databases. Many of these theories use interpolation and extrapolation techniques to identify sighting regions through such data. In this study, a pattern recognizer artificial neural network was trained to distinguish between visibility regions. Essential parameters of crescent moon sighting were collected from moon sight datasets and used to build an intelligent system of pattern recognition to predict the crescent sight conditions. The proposed ANN learned the datasets with an accuracy of more than 72% in comparison to the actual observational results. ANN simulation gives a clear insight into three crescent moon visibility regions: invisible (I), probably visible (P), and certainly visible (V). The proposed ANN is suitable for building lunar calendars, so it was used to build a four-year calendar on the horizon of Baghdad. The built calendar was compared with the official Hijri calendar in Iraq.

1. Introduction

The early sighting of a new crescent moon is one of the earliest astronomical activities performed by human civilizations. This sighting marked the start of the lunar month in many such civilizations. The first evidence of these activities came to us from the Babylonians (6th Century B.C.), who lived in the fertile lands of Mesopotamia (modern-day Iraq) [1]. They relied on the crescent moon to indicate the start of their calendar months and years. They used a standard criterion to predict the moon’s sight, which was sufficient for that purpose. Other civilizations, such as Indians and Chinese, also used lunar sight and still do to this day, although use different criteria to determine the start of a lunar month [2]. Jewish people also still use the moon cycle to indicate the start of the months in their lunisolar calendar, although they use arithmetic calculation rather than moon sighting.
Centuries after the Babylonians, in the 7th Century C.E., a new religion, Islam, had emerged from the deserts of the Arabian Peninsula. Three of the five main pillars of Islam depend on the start of the lunar months. They are Fasting-Breakfasting “Siam-Fitr”, Pilgrimage “Hajj”, and Alms “Zakat”. The first two pillars are performed in a specific lunar month in a year, while the third is performed once in the first month of each lunar year [2]. Reckoning of the first crescent moon after the conjunction is an essential indication for Muslims to begin their lunar months and perform their religious duties.
Through the Islamic golden age (between the 9th and 11th centuries C.E.), many famous Muslim astronomers laid down specific criteria for moon sighting that depended on the age of the moon (the time passed since the conjunction) and the lag of the moon (the time between the sunset and the moonset) [3]. Some considered the arc length of celestial degrees between the sun and the moon (elongation) at sunset. However, they could not predict the sighting perfectly because they did not consider the local conditions of the horizon at the time of observation, and they omitted the effect of changing the apparent width of the crescent moon and its relation with the brightness of the sky [4].
Since the start of the previous century, various theories have been proposed to design a criterion for moon visibility suitable to predict the start of lunar months. These theories relied on drawing a borderline between positive (visible) and negative (invisible) observations or on defining a visibility region using interpolations. All these methods were empirical and depended on the subjective viewpoint of the observer. Many observation records yielded incorrect predictions [5]. There is also interference between the two mentioned regions, which was difficult separate empirically. This situation could be resolved by drawing a barrier region between them. Therefore, an objective-oriented method that depends on the presented datasets themselves should make the visibility regions more realistic and reliable.
The development of machine learning (ML) techniques in recent years resulted in many considerable advancements in modern technology. ML algorithms have proven their ability in numerous fields, such as pattern recognition. Artificial neural networks (ANN’s) are of the most widely used technology in pattern recognition due to their ability to analyze and learn patterns hidden inside the data that they consider, as well as their ability to train themselves on new data to rectify and improve their performance. They can predict the output of any input not presented in the training data, making them flexible in handling lost and misleading information. Many studies have been performed related to ML with ANNs in the field of pattern recognition and classification [6,7,8,9].
In this study, a two-layered ANN was used to learn moon sighting data tables provided by Schaefer, Yallop, and Odeh to generate a moon sighting region recognizer to predict the possible condition of the first sighting of a new crescent moon. This ANN was used to build a calendar for four Islamic Hijri years (1440–1443 A.H.) based on the local horizon of Baghdad, the capital of Iraq, as a part of a larger project to build a unified Islamic Hijri Calendar for Iraq. The results of the ANN recognizer were compared with the current official Hijri Calendar in Iraq, which relies on astronomical calculations rather than moon sighting.
The remainder of this study is organized as follows. In Section 2, we outline a literature review of related works. In Section 3, we illustrate the methods used to calculate the essential parameters for moon sighting and demonstrate the observational dataset and the design of the proposed pattern recognizer ANN. In Section 4, we present the results of ANN training and the newly constructed calendar. In Section 5, we discuss the obtained results.

2. Related Works

Many astronomers and scientists developed arithmetic criteria for the first visibility of the crescent moon at the beginning of the previous century. Many of their criteria were based on the minimum elongation of the moon suitable for visibility.
Developing accurate criteria for moon sighting in the modern era began with Fotheringham [10] in 1910 and Maunder [11] in 1911, who categorized moon sighting regions as visible/invisible using moon observation data collected by Julius Schmidt in Athens, Greece, between 1859 and 1867. They used one parameter for crescent visibility, i.e., elongation, which is the distance in arc degrees between the sun and the moon. They claimed that the shortest elongation for naked-eye visibility should be 12° (Fotheringham) or 11° (Maunder). In 1932, Danjon [12] claimed that the moon could not be seen if its elongation is less than 7°, thereafter referred to in the literature as “Danjon’s limit”. Many moonsighting campaigns led by McNally [13] and Schaefer [14] attempted to break that limit [15]; the results were recorded in tables and used by many others, such as Yallop [16] and Odeh [17].
McNally claimed that the moon could reflect the light from the sun to the earth if its elongation was 5.5° at least. However, Schaefer criticized McNally’s claim and confirmed Danjon’s limit [18]. Ilyas [19] agreed with Maunder’s limit and modified it to 10.5° for naked-eye visibility. Yallop [16] agreed with Ilyas’ limit, although decreased it to 10°. Fatoohi [1] modified Danjon’s limit to 7.5° after considering many data records which belong to the Babylonian era. Finally, Odeh [17] claimed that one of the recorded observations by the Islamic Crescent Observation Project (ICOP) broke the Danjon’s limit. In that observation, the crescent was seen by a telescope at elongation of 6.4°. However, this observation is unique and unreliable without further investigations and similar observational conditions [20].
Table 1 illustrates the minimum elongation for visibility according to several authors:
The criteria above are simple because they give one parameter only to judge whether the crescent would be seen or not. However, ancient and contemporary astronomers used many complicated criteria. A comprehensive list of these criteria and their parameters is shown in [3].
Many previous authors attempted to add other parameters to moon visibility criteria. They considered the physical aspects and their relation with early visibility, such as sky brightness and eye perception [21]. However, other astronomers omitted the effect of the atmosphere for theoretical visibility [13].
Fotheringham-Maunder proposed the first mathematical criterion, which extracted it from observational data [10,11]. It has two parameters. These parameters are the azimuthal difference between the sun and the moon (which is abbreviated as D A Z ) and the altitude difference (which is referred to as the arc of vision and abbreviated as A R C V ) between the sun and the moon. These parameters are computed at the time of sunset at the observation location. This criterion draws a line between the positive observations (visible by the naked eye V) and negative observations (invisible by the naked eye I). For instance, if the moon’s position was under that line, it would not be seen, and vice versa.
In 1977, Bruin [4] modified Fotheringham-Maunder’s criterion. He considered the western sky, the moon’s surface brightness, and the solar depression (the altitude of the sun below the horizon). Bruin presented a new parameter, (the crescent width, abbreviated as w ). The crescent width is the arclength of the crescent, which is proportional to the radius and the illuminated fraction of the moon. Bruin used the arc of vision as a function of the crescent width and found that the moon will not be visible if its width is less than 0.5′ (30 arcseconds).
Ilyas [22], on the other hand, reformed Bruin’s criterion and found that the minimum limit of visible width of the moon was 0.25′; (15 arcseconds). In [19], he developed a new criterion and claimed that the moon could not be visible if it had been found on the horizon when the depression of the sun was 4° ( D E P = 4 ° ). He verified the Maunder and Bruin visibility criteria and extended their curves using extrapolation to cover visibility conditions in higher geographic latitudes. Furthermore, Ilyas found that Danjon’s limit was just an extrapolation, therefore he increased the limit to 10.5° for naked-eye visibility. This issue was due to observation in the lower-tropical geographic latitudes rather than the middle latitudes when Danjon recorded his observations in Strasbourg Observatory, France.
Schaefer [21] claimed that some of Bruin’s data were misleading, and some of his assumptions were incorrect regarding twilight sky brightness, lunar surface brightness, and physiological data of lunar vision. Schaefer added other parameters, such as the visual extinction coefficient and atmospheric clarity. In his study above, he demonstrated the condition of the first moon visibility and claimed that his result was better than the results of Danjon and Bruin.
Yallop [16] used the results of Maunder and Bruin and the observational data collected by Schaefer to derive a new q-test criterion based on a published formula in the Indian Astronomical Almanac in 1979. That formula was useful for heliacal rising and setting. He presented the concept of the best time, which is the time of the optimal observational condition. He claimed that the best time T b is the time which comes after the sunset T s in exactly four-ninths of the moon lag, i.e.,:
T b = T s + 4 9 L a g
where L a g is the time period between the sunset and the moonset.
Yallop generated the observational data provided by Schaefer at his best time, then he used the arc of vision A R C V (in degrees) versus crescent width w (in arcminutes) to develop his criterion as follows:
q Y = ( A R C V 11.8371 + 6.3226 w 0.7319 w 2 + 0.1018 w 3 ) / 10
Table 2 illustrates the crescent conditions according to Yallop:
In 2001, Caldwell and Laney [23], a team of two astronomers in the South African Astronomical Observatory (SAAO), developed the SAAO Criterion, another criterion for crescent moon visibility. This criterion depends on the arc of light (abbreviated as A R C L ) which is slightly less than the elongation, and the arc of vision A R C V (for the bright limb of the moon rather than its center) at the time of the sunset. This criterion was simple; it does not need a complicated polynomial to calculate. The SAAO q-test criterion states that:
q S = A R C V + 1 3 A R C L
Table 3 illustrates the crescent conditions according to the SAAO team:
Caldwell [24] investigated the correlation of moon lag with the arc of light. Meanwhile, Qureshi [25] proposed a modification to Yallop’s criterion depending on recently collected observation data.
In 2005, Odeh [17] proposed the most recent moon sight criterion. He used the dataset of moon sightings provided by Schaefer and Yallop and added other collected records from many crescent watchers and the ICOP. Odeh used more than 700 records in his study and built his criterion based on the Indian formula by altering Yallop’s criterion offset and region control values. Furthermore, he used Yallop’s best time for data collection and used A R C V and w to develop it as follows:
q O = A R C V 7.1651 + 6.3226 w 0.7319 w 2 + 0.1018 w 3
Table 4 illustrates the crescent conditions according to Odeh:
Other researchers attempted to formulate visibility criteria for the crescent moon. Some of them proposed a line referred to as the International Date Line (IDL), a line that divides the globe into two lunar month-start regions. They claimed that the line would resolve the problem of differences in lunar months towards constructing a universal Hijri calendar [26,27]. Al-Mostafa [28] proposed a criterion for moon visibility and reckoning the first day of the lunar month in KSA. A recently collected dataset by Alrefay et al. [20] of moon sighting observations is useful for a new robust criterion.
All the previous proposed criteria relied on empirical techniques such as interpolating data of the moon at the observation time. This study aims to divide the moon visibility regions according to a prediction algorithm based on ML using the concept of Pattern Recognition built in the ANN. Before getting to the design procedure, it is necessary to demonstrate the essential parameters of the moon sighting and how to compute them.

3. Methodology

3.1. Moon Sighting Parameters

The Islamic day (and hence the Islamic lunar month) starts at sunset rather than midnight when the civil standard day starts. Observation of the new crescent moon is due on the time of sunset of the 29th day of the elapsed lunar month. The following day, which starts at that sunset, will be either the 30th day of the current lunar month or the 1st day of the next lunar one. The first visibility of the crescent moon decides the choice between these two cases. If the crescent is visible, the next day will be the 1st day of the next month, or else (the crescent is not visible), the next day will be the 30th day of the elapsed month, and the following day will be the 1st day of the following month.
Figure 1 illustrates the essential parameters of moon sighting:
At the best time (whether it is either the time of sunset when the upper limb of the sun coincides with the horizon or the center of the sun is located below the horizon in several degrees), five parameters are calculated: the equatorial celestial positions of the sun and the moon (declinations and right ascensions), and the apparent radius of the moon disk ρ m .
In this study, the best time was used according to Ilyas [19], when the sun depression is 4° ( D E P = 4 ° ) .
The equatorial celestial coordinates of the moon were corrected for parallax as topocentric coordinates rather than geocentric ones. The astronomical algorithms for calculating such coordinates are available in Jean Meeus’s book [29].
The elongation ψ between the centers of the luminaries is calculated as follows:
ψ = arccos ( sin δ ´ m sin δ s + cos δ ´ m cos δ s cos ( α ´ m α s ) )
where δ ´ m ,   α ´ m are the corrected equatorial celestial coordinates (declination and right ascension) of the moon,, and δ s , α s are the celestial coordinates (declination and right ascension) of the sun.
The first parameter of the moon sighting, the width of the crescent (abbreviated by w ), is calculated in terms of arcminutes:
w = 60 ( 1 cos ψ ) ρ m
The orientation angle of the moon’s bright limb θ is calculated from the difference between two arguments:
θ = arctan ( sin H m cos δ ´ m tan φ sin δ ´ m cos H m ) arctan ( cos δ ´ m tan δ s sin δ ´ m cos ( α ´ m α s ) sin ( α ´ m α s ) )
where H m is the hour-angle of the moon and φ is the geographic latitude [29].
The arc of light A R C L , which is the distance between the center of the sun and the bright limb of the moon, is equal to the elongation minus the radius of the moon’s disk:
A R C L = ψ ρ m
The other parameters, A R C V and D A Z are calculated in terms of A R C L and θ :
A R C V = arctan ( sin θ tan A R C L )
D A Z = | arcsin ( cos θ sin A R C L ) |
The values of w ,   A R C V and D A Z are the input to the pattern recognizer ANN which will be trained using the moon sighting dataset.

3.2. Pattern Recognizer ANN Architecture

The architecture of the pattern recognizer ANN is shown in Figure 2.
This ANN has three layers: the first one is the input layer (surrounded by the red rectangle) and has three neurons. This layer receives the input parameters (w, ARCV and DAZ) from the observational dataset. It has an input-to-hidden bias vector (bi). The input values of the first neuron are between 0 to 2. In the second and third neurons, the input values are between 0 to 20.
The hidden layer contains five neurons (surrounded by the green rectangle), which receive the input values after scaling them by the input-to-hidden weight matrix (Wi) along with the input-to-hidden bias vector. The activation function of the hidden layer is the tan sig ( ) function, which is indicated in the figure by the letter (T). This layer has a hidden-to-output bias vector (bh).
The output layer has three neurons (surrounded by the blue rectangle). Each output neuron represents one of the moon sighting regions (invisible I, probably visible P, and certainly visible V). It receives the results of the hidden neurons after scaling them by the hidden-to-output weight matrix (Wh) along with the hidden-to-output bias vector. The activation function of the output layer is the softmax ( ) function, which is indicated in the figure by the letter (S). If any of the output neurons is unity or near unity, its corresponding output will refer to the observation result. The formulae of the two activation functions are illustrated in Equations (11) and (12).
y = tan sig ( x ) = 1 e 2 x 1 + e 2 x
y i = softmax ( x n × 1 , i ) = e x i k = 1 n e x k
where x n × 1 is the vector of the output layer. In this study, n = 3 to represent the number of the output values.
The ANN was trained using the Bayesian Regularization backpropagation algorithm (BRA), one of the widely used ANN training algorithms for challenging data. BRA updates the weight and bias values according to the Levenberg-Marquardt optimization (LMA). It minimizes a combination of squared errors and ANN weights to determine the correct combination and produce a network that simulates the datasets well. This algorithm uses an adaptive learning rate between 0.005 to 1010 [30].
Choosing the number of hidden neurons was a tradeoff between the complexity of the ANN (and hence the computation time) and the speed of ANN learning of the observation dataset. If the number of hidden neurons was decreased, the ANN would need more time or additional data to learn the pattern of the dataset efficiently.

3.3. Training Dataset

The parameters of the moon’s sight were calculated on the day of the observation. The generated data are the Best time according to Ilyas [19], age of the moon Age, crescent width w, ARCL, ARCV, and DAZ. The parameters were generated from the observational data (Sight Date, Longitude, and Latitude), along with the recorded observational conditions of the crescent moon (Invisible, visible by Telescope, visible by Binoculars, easily Visible, etc.) These targets are used in ANN learning.
The dataset contains 578 entries, each entry for one observation. After combining the dataset of the three authors, several observations were repeated; therefore, it was significant to unify all of them. Furthermore, all morning observations (which were held before sunrise on the last day of the month) were skipped from the dataset. ANN training was implemented on the evening observations only. Table 5 shows a sample of the dataset. The complete dataset table is found in the Supplementary Materials, Table S1.
There are 14 columns in this table. The 1st one represents the catalog origin: (S) for Schaefer; (O) for Odeh. The second column represents the Hijri year in which the observation attempts to recognize its start. The number in the third column represents the number of the lunar month which begins from 1 as Muharram through 12 as Thu-Al-Hijja. The 4th and 5th columns represent the Gregorian calendar date and time. The time is in terms of the coordinated Universal Time (UT) of the observation day. The 6th and 7th columns represent the geographical coordinates of observation (Lat for geographical latitude and Lon for geographic longitude). The 8th column contains the moon’s age in hours from the geocentric conjunction until the best time, whereas the 9th column contains the width of the crescent. The 10th, 11th, and 12th columns hold the horizontal coordinates of the bright limb of the crescent moon. These coordinates are relative to the sun in terms of the arc degrees. The 13th column contains the observational results as recorded by Schaefer and Odeh. The meaning of these data values is illustrated in [16,17]. The 14th column contains the observational results as will be interpreted by the pattern recognizer ANN (I as invisible, P as probably visible, and V as certainly visible).
The parameters in columns 9, 11, and 12 were used to train the ANN to fit the output in column 14. Before ANN training, the dataset was distributed on a 2D chart ( A R C V vs. w ) in Figure 3. Every dot represents a single observation. Its color indicates its observation result (red as invisible, green as probably visible, blue as certainly visible).

4. Results

4.1. ANN Training

The pattern recognizer ANN was trained by the dataset, which contains 578 entries using MATLAB® R2020b. The training performance MSE was 0.1134 after about 360 training epochs throughout the overall process. Figure 4 illustrates the results of the training.
The results of the training show that the pattern recognizer managed to learn the observation dataset in a high percentage (72.7%). This percentage represents eight identical observations out of eleven.
Figure 4a shows the convergence progress of the ANN. The error reached its minimum at epoch No. 184. The error between the desired outputs (Targets) and actual ANN outputs (Outputs) did not exceed 5% for most of the ANN output values compared with their corresponding desired target values. Figure 4b illustrate that. In Figure 4c, the confusion tables of the results show that 420 observations were true (the three green diagonal squares), whereas fifty-five observations were overestimated, i.e., they should be hardly visible or might be invisible even though they were recorded as visible (the three upper reddish squares). The remaining observations (103) were underestimated, i.e., they should be visible even though they were recorded as invisible (the three lower reddish squares). In Figure 4d, it is clear that the ANN successfully learned the invisible and certainly visible regions (the red and blue lines). However, the ANN learned the region of the probably visible slightly worse (the green line) because it was closer to the center line than the others.
A test dataset was generated to test the pattern recognizer ANN efficiently. The values of the crescent width are between 0.01′ and 4′ in a step of 0.01′. The values of the orientation angle of the moon’s bright limb θ are between 0° and 90° in a step of 1°. The value of A R C L , A R C V and D A Z are calculated accordingly using w and θ as follows:
A R C L = 20.557 w 0.259
A R C V = arcsin ( sin θ sin A R C L )
D A Z = | arctan ( cos θ tan A R C L ) |
The test data contain 36,400 entries. Every entry is sent to the input of the ANN. The output of the ANN was illustrated on a chart according to A R C V vs. w . Their colors represent the observation results (red for invisible, green for probably visible, and blue for certainly visible).

4.2. Building a Sample Hijri Calendar for Iraq

The theoretical observational site was at a reference place in Baghdad, the capital of Iraq. A famous landmark was chosen, which is the historical Qishla clocktower at the left (eastern) bank of the Tigris river ( L a t = 33.34 ; L o n = 44.387 ). The pattern recognizer ANN generated the information for the lunar month start and compared it with the official lunar month start in Iraq mentioned on the ICOP website [31]. Table 6 shows the first days for all the months in the Hijri years (1440–1443):

5. Discussion

Figure 5 gives a complete comprehensive analysis of the original observation dataset. First, the crescent moon would not be visible by any means available (except the CCD imaging) if the crescent width was less or equal to 0.12′ ( A R C L is about 6.86° or elongation of 7.12°), which proved Danjon’s limit and Schaefer investigations. In the region of the lower limit of naked eye visibility, the moon would be certainly visible for any condition of the sky if the crescent width was 0.3′ ( A R C L is about 11° or elongation of 11.25° provided that D A Z = 0 ), which confirmed the results of Maunder and Ilyas as the minimum elongation for naked-eye visibility. The crescent width might be greater than 0.3′ and could not be seen by naked eye if its D A Z was very large. For larger values of the crescent width w > 1 ′ ( A R C L > 20 ° ), it is obvious that the moon could not be seen by any means available if the A R C V < 4 ° , which confirms the finding of Ilyas. Furthermore, the minimum value of arc of vision for the crescent moon visibility is when A R C V = 7 ° .
Secondly, it is enough to divide the moon sight area into three regions rather than four as in Odeh’s criterion or five as in Yallop’s criterion. The invisible region is contiguous, and so is the visible one. The middle area was only a thin line between the two others.
Thirdly, there was a red spot inside the blue region. The reason was performing the old observations using the naked eye only. This spot should be green (probably visible) rather than red. Schmidt recorded these sightings as “invisible” rather than “probably visible” because he used the unaided sight only.
The crescent moon may be visible by the unaided eye in the green region, but it remains unlikely to be seen compared with the blue one. Furthermore, a visible area under an invisible area implies an issue related with recording sight results. The green region might contain blue spots, which indicates that the crescent could be visible by the unaided eye if the conditions were appropriate. Whenever the moon sight data approaches the red region, moon sighting will be less likely.
Figure 5 shows that the official Hijri Calendar in Iraq started the new lunar month on the following day of the moon sight, regardless of the crescent moon sight result (invisible or probably visible), yet most of the results were invisible. So one should consider that issue and reform the official Hijri calendar to use observational results rather than astronomical calculations, which most countries in the Middle East have used.

6. Conclusions

Many theories of moon sight attempted to simulate the problem of early visibility. All these theories were empirical and depended totally on the observational results to draw a line among the moon sight regions. This research suggested an alternative approach to visualize those regions depending on machine learning techniques. Deep-learning tools such as ANN’s are helpful in simulating the moon sighting dataset.
The pattern recognizer ANN successfully simulated the moon sighting problem using observational data. The ANN verified the actual observational result for eight observations out of eleven. However, it is preferable to enhance the performance of the ANN using additional datasets. These results encourage collecting more data and training the ANN for improved accuracy, which helps construct robust Hijri calendars in any state or country. Unfortunately, the official Hijri calendar in Iraq does not depend on the observations of the astronomical societies and compromises their mathematical calculations.
These results open the way to propose a new criterion for crescent moon visibility which predicts the moon sight more likely. The results of this study will be the ground to create that criterion.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/computation10100186/s1. Table S1: The Complete Dataset of the Moon sight visibility.

Funding

This research received no external funding.

Data Availability Statement

The datasets used in this study are available in [16,17,21].

Acknowledgments

The author would express his deepest thanks and gratitude to his colleague Mohammed Shawkat Odeh the head of ICOP, for providing him with the essential resources and references throughout the period for preparing this study.

Conflicts of Interest

The author declare no conflict of interest.

References

  1. Fatoohi, L.J.; Stephenson, F.R.; Al-Dargazelli, S.S. The Danjon Limit of First Visibility of the Lunar Crescent. Observatory 1998, 118, 65–72. [Google Scholar]
  2. Schaefer, B.E. The length of the Lunar Month. J. Hist. Astron. 1992, 23, 32–42. [Google Scholar] [CrossRef]
  3. Ilyas, M. Lunar crescent visibility Criterion and Islamic Calendar. Q. J. R. Astr. Soc. 1994, 35, 425–461. [Google Scholar]
  4. Bruin, F. The First Visibility of the Lunar Crescent. Vistas Astron. 1977, 12, 331–358. [Google Scholar] [CrossRef]
  5. Schaefer, B.E.; Ahmad, I.A.; Doggett, L.E. Records for Young Moon Sighting. Q. J. R. Astr. Soc. 1993, 37, 53–56. [Google Scholar]
  6. Lazli, L.; Boukadoum, M. Hidden neural network for complex pattern recognition: A comparison study with Multi-neural network-based approach. Int. J. Life Sci. Med Res. 2013, 3, 234–245. [Google Scholar] [CrossRef]
  7. Khodaskar, A.A.; Ladhake, S.A. Pattern recognition: Advanced development, techniques and application for image retrieval. In Proceedings of the IEEE 2014 International Conference on Communication and Network Technologies (ICCNT), Sivakasi, India, 18–19 December 2014; pp. 74–78. [Google Scholar]
  8. Kim, T.H. Pattern recognition using artificial neural network: A review. In Proceedings of the 4th International Conference on Information Security and Assurance (ISA2010), Miyazaki, Japan, 23–25 June 2010; pp. 138–148. [Google Scholar]
  9. Schmidhuber, J. Deep learning in neural networks: An overview. Neural Netw. 2015, 61, 85–117. [Google Scholar] [CrossRef] [Green Version]
  10. Fotheringham, J.K. On the Smallest Visible Phase of the Moon. RAS Mon. Notices 1910, 70, 527–532. [Google Scholar] [CrossRef] [Green Version]
  11. Maunder, E.W. On the Smallest Visible Phase of Moon. JBAA 1911, 21, 355–362. [Google Scholar]
  12. Danjon, A. Jeunes et Vieilles Lunes. l’Astronomie 1932, 46, 57–66. [Google Scholar]
  13. McNally, D. The length of the lunar crescent. Q. J. R. Astr. Soc. 1983, 24, 417–429. [Google Scholar]
  14. Schaefer, B.E. Lunar crescent visibility. Q. J. R. Astr. Soc. 1996, 37, 759–768. [Google Scholar]
  15. Sultan, A.H. First Visibility of The Lunar Crescent Beyond Danjon’s Limit. Observatory 2007, 127, 53–59. [Google Scholar]
  16. Yallop, B.D. A Method for Predicting the First Sighting of the New Crescent Moon; RGO NAO Technical Note 69; HM Nautical Almanac Office, Royal Greenwich Observatory: Cambridge, UK, 1997; pp. 1–15. [Google Scholar]
  17. Odeh, M.S. New Criterion for Lunar Crescent Visibility. Exp. Astron. 2006, 18, 39–64. [Google Scholar] [CrossRef]
  18. Schaefer, B.E. Length of the lunar crescent. Q. J. R. Astr. Soc. 1991, 32, 265–277. [Google Scholar]
  19. Ilyas, M. Limiting altitude separation in the new Moon’s first visibility criterion. Astron. Astrophys. 1988, 206, 133–135. [Google Scholar]
  20. Alrefay, T.; Alsaab, S.; Alshehri, F.; Alghamdi, A.; Hadadi, A.; Alotaibi, M.; Almutari, K.; Mubarki, Y. Analysis of Observations of Earliest Visibility of the Lunar crescent. Observatory 2018, 138, 267–291. [Google Scholar]
  21. Schaefer, B.E. Visibility of the lunar crescent. Q. J. R. Astr. Soc. 1988, 29, 511–523. [Google Scholar]
  22. Ilyas, M. Lowest Limit of w in the New Moon’s First Visibility Criterion of Bruin and its Comparison with the Maunder Criterion. Q. J. R. Astr. Soc. 1981, 22, 154–159. [Google Scholar]
  23. Caldwell, J.A.R.; Laney, C.D. First Visibility of the Lunar Crescent. Mon. Notes Astron. Soc. S. Afr. 1999, 58, 150–163. [Google Scholar]
  24. Caldwell, J.A.R. Moonset lag with arc of light predicts crescent visibility. MNASSA 2011, 70, 220–235. [Google Scholar]
  25. Qureshi, M.S. Computational Astronomy and the Earliest Visibility of Lunar Crescent; Institute of Space and Planetary Astrophysics, University of Karachi: Karachi, Pakistan, 2005; pp. 1–15. [Google Scholar]
  26. McNaughton, D. A Universal Islamic Calendar. Homdard Islamicus 1997, 20, 77–85. [Google Scholar]
  27. Doggett, L.E.; Schaefer, B.E. Lunar Crescent Visibility. Icarus 1994, 107, 388–403. [Google Scholar] [CrossRef]
  28. Al-Mostafa, Z. Lunar Calendar the New Saudi Arabian Criterion. Observatory 2005, 125, 25–30. [Google Scholar]
  29. Meeus, J. Astronomical Algorithms, 2nd ed.; Willmann-Bell Inc: Richmond, VA, USA, 1998. [Google Scholar]
  30. Bayesian Regularization Backpropagation. Available online: https://www.mathworks.com/help/deeplearning/ref/trainbr.html (accessed on 5 October 2022).
  31. ICOP Crescent Observation Results. Available online: https://www.astronomycenter.net/res.html (accessed on 1 September 2022).
Figure 1. Horizontal Coordinates of the Bright Limb of the Crescent Moon Relative to the Sun, along with other parameters.
Figure 1. Horizontal Coordinates of the Bright Limb of the Crescent Moon Relative to the Sun, along with other parameters.
Computation 10 00186 g001
Figure 2. Pattern recognizer ANN architecture.
Figure 2. Pattern recognizer ANN architecture.
Computation 10 00186 g002
Figure 3. Distribution of the training dataset on a chart ( A R C V vs. w ).
Figure 3. Distribution of the training dataset on a chart ( A R C V vs. w ).
Computation 10 00186 g003
Figure 4. Results of the pattern recognizer ANN training: (a) Best training performance with a MSE of 0.1134; (b) Error histogram of the dataset entries; (c) Confusion table of ANN output relative to the desired target; (d) Receiver Operating Characteristic of the ANN.
Figure 4. Results of the pattern recognizer ANN training: (a) Best training performance with a MSE of 0.1134; (b) Error histogram of the dataset entries; (c) Confusion table of ANN output relative to the desired target; (d) Receiver Operating Characteristic of the ANN.
Computation 10 00186 g004
Figure 5. Performance of the Pattern Recognizer ANN for a test data.
Figure 5. Performance of the Pattern Recognizer ANN for a test data.
Computation 10 00186 g005
Table 1. List of the minimum values of moon elongation for early visibility according to several authors.
Table 1. List of the minimum values of moon elongation for early visibility according to several authors.
Research AuthorMinimum Value of Elongation
Fotheringham [10]12°
Maunder [11]11°
Ilyas [19]10.5°
Yallop [16]10°
Fatoohi [1]7.5°
Danjon [12] and Schaefer [21]
Odeh [17]6.4°
McNally [13]5.5°
Table 2. Crescent Conditions for Yallop’s criterion [16].
Table 2. Crescent Conditions for Yallop’s criterion [16].
q ValueCrescent Condition
q Y > 0.216 Easily visible
0.216 q Y > 0.014 Conditionally visible
0.014 q Y > 0.16 May need optical aid
0.16 q Y > 0.232 Should need optical aid
0.232 q Y Invisible
Table 3. Crescent Conditions for SAAO criterion [23].
Table 3. Crescent Conditions for SAAO criterion [23].
q ValueCrescent Condition
q S > 11 Easily visible
11 q S > 9 Needs optical aid
9 q S Invisible
Table 4. Crescent Conditions for Odeh criterion [17].
Table 4. Crescent Conditions for Odeh criterion [17].
q ValueCrescent Condition
q O > 5.65 Easily visible
5.65 q O > 2 May need optical aid
2 q O > 0.96 Needs optical aid
0.96 q O Invisible
Table 5. A sample of the Observation Dataset provided by Schaefer, Yallop and Odeh for moon sighting. The sighting parameters are calculated for the “best time” according to Ilyas.
Table 5. A sample of the Observation Dataset provided by Schaefer, Yallop and Odeh for moon sighting. The sighting parameters are calculated for the “best time” according to Ilyas.
CH. Y.M.Sight DateBest Time (UT)LatLonAgeWARCLARCVDAZSOA
O14221212 February 200216:3043.918.48.80.085.580.855.51II
S1408223 September 198723:4837.2−84.120.650.229.393.298.8II
O1423213 April 200219:2030.5−9.723.960.2610.579.145.33I(T)P
S1361128 December 194221:4840.7−7419.80.3411.329.785.74V(F)P
O142369 August 200217:5510.39.822.650.4112.5712.42.04VV
S139325 March 197323:5340−8523.750.3812.2412.20.97V(V)V
Table 6. The first days of the Hijri lunar months of the years (1440–1443) in astronomical (1) and observational (2) methods. The difference appear only when the moon is “Invisible” on sight day.
Table 6. The first days of the Hijri lunar months of the years (1440–1443) in astronomical (1) and observational (2) methods. The difference appear only when the moon is “Invisible” on sight day.
H. Y.M.Sight DaywARCVDAZPred.First Day (1)DaysFirst Day (2)Days
1440110 September 20180.379.087.73P11 September 20182911 September 201830
29 October 20180.116.262.1I10 October 20183011 October 201829
38 November 20180.39.545.73P9 November 2018299 November 201830
47 December 20180.033.430.27I8 December 2018309 December 201830
56 January 20190.064.342.24I7 January 2019308 January 201930
65 February 20190.135.934.42I6 February 2019307 February 201929
77 March 20190.268.586.19P8 March 2019298 March 201930
85 April 20190.071.255.28I6 April 2019307 April 201930
95 May 20190.195.756.64I6 May 2019297 May 201929
103 June 20190.040.53.83I4 June 2019305 June 201929
113 July 20190.327.887.69P4 July 2019294 July 201930
121 August 20190.135.514.3I2 August 2019293 August 201929
1441130 August 20190.043.830.26I31 August 2019301 September 201929
229 September 20190.389.717.22P30 September 20192930 September 201930
328 October 20190.115.972.21I29 October 20193030 October 201929
427 November 20190.3397.17P28 November 20192928 November 201930
526 December 20190.032.692.36I27 December 20193028 December 201930
625 January 20200.145.55.38I26 January 20203027 January 202029
724 February 20200.288.556.68P25 February 20202925 February 202030
824 March 20200.070.915.13I25 March 20203026 March 202030
923 April 20200.13.865.23I24 April 20203025 April 202029
1023 May 20200.247.915.96P24 May 20202924 May 202030
1121 June 20200.043.062.49I22 June 20203023 June 202029
1221 July 20200.359.496.91P22 July 20202922 July 202030
1442119 August 20200.166.893.39I20 August 20202921 August 202029
217 September 20200.054.290.55I18 September 20203019 September 202029
317 October 20200.328.397P18 October 20202918 October 202030
415 November 20200.063.752.59I16 November 20203017 November 202029
515 December 20200.347.788.46P16 December 20202916 December 202030
613 January 20210.082.234.85I14 January 20213015 January 202129
712 February 20210.257.427P13 February 20212913 February 202130
813 March 20210.060.614.99I14 March 20213015 March 202130
912 April 20210.094.094.54I13 April 20213014 April 202129
1012 May 20210.177.434.24P13 May 20212913 May 202130
1110 June 20210.011.590.49I11 June 20213012 June 202130
1210 July 20210.126.562.61I11 July 20212912 July 202129
144318 August 20210.043.341.71I9 August 20213010 August 202129
27 September 20210.177.133.85P8 September 2021298 September 202130
36 October 20210.033.060.29I7 October 2021308 October 202130
45 November 20210.225.767.07I6 November 2021307 November 202129
54 December 20210.030.883.29I6 December 2021296 December 202129
63 January 20220.347.019.04P4 January 2022294 January 202230
71 February 20220.112.375.97I2 February 2022303 February 202229
83 March 20220.329.376.3P4 March 2022294 March 202230
91 April 20220.062.883.68I2 April 2022303 April 202229
101 May 20220.167.582.94P2 May 2022302 May 202230
1130 May 20220.011.640.33I1 June 2022291 June 202230
1229 June 20220.16.191.12I30 June 2022301 July 202229
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Allawi, Z.T. A Pattern-Recognizer Artificial Neural Network for the Prediction of New Crescent Visibility in Iraq. Computation 2022, 10, 186. https://doi.org/10.3390/computation10100186

AMA Style

Allawi ZT. A Pattern-Recognizer Artificial Neural Network for the Prediction of New Crescent Visibility in Iraq. Computation. 2022; 10(10):186. https://doi.org/10.3390/computation10100186

Chicago/Turabian Style

Allawi, Ziyad T. 2022. "A Pattern-Recognizer Artificial Neural Network for the Prediction of New Crescent Visibility in Iraq" Computation 10, no. 10: 186. https://doi.org/10.3390/computation10100186

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop