ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

Searching for codes credited to 'Mohd Nawawi, Mohd Saiful Anwar'

Tip! Refine or expand your search. Authors are sometimes listed as 'Smith, J. K.' instead of 'Smith, John' so it is useful to search for last names only. Note this is currently a simple phrase search.

[ascl:2307.031] HilalPy: Analysis tool for lunar crescent visibility criterion

HilalPy analyzes lunar crescent visibility criteria. Written in Python, the code uses more than 8000 lunar crescent visibility records extracted from literature and websites of lunar crescent observation, descriptive statistics, contradiction rate percentage, and regression analysis in its analysis to predict the visibility of a lunar crescent.

[submitted] CrescentScope - Code to Identify to Feature of Lunar Crescent in Image

We present AstroContour, an open-source Python-based image processing tool designed for the detection, extraction, and analysis of contours in astronomical imagery. Developed using the OpenCV computer vision library, the code applies a sequence of pre-processing steps—such as grayscale conversion, noise reduction, thresholding, and morphological operations—followed by contour detection and refinement techniques. This approach is optimized for identifying the outlines of celestial objects, including lunar crescents, planetary disks, and other extended sources, under varying atmospheric and imaging conditions. The framework is adaptable to both raw and pre-processed astrophotographic data, enabling researchers to isolate features of interest, measure geometric parameters, and prepare datasets for further scientific analysis. AstroContour provides a reproducible, modular, and extensible workflow for astronomers, educators, and citizen science projects engaged in observational astronomy.