A comprehensive astronomical image processing application for stellar photometry and exoplanet detection.
- RAW Image Processing: Convert astronomical RAW images (CR2, NEF, ARW, DNG) to FITS format
- Image Stacking: Combine multiple FITS images to reduce noise and improve signal quality
- Aperture Photometry: Perform precise stellar photometry analysis using DAOStarFinder
- Metadata Preservation: Maintain EXIF data during RAW to FITS conversion
- User-Friendly GUI: Intuitive interface with progress tracking and help system
-
Install Python 3.8 or higher
-
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python main.py
- Use File → Open Image for standard image formats (PNG, TIFF, JPEG)
- Use File → Open RAW File for astronomical RAW images
- Use File → Open FITS File for FITS astronomical images
- Load a RAW file (File → Open RAW File)
- Select Process → Convert RAW to FITS
- Choose save location
- EXIF metadata will be preserved in the FITS header
- Select Process → Stack FITS Images
- Choose multiple FITS files
- The application creates a mean-combined image to reduce noise
- Load a FITS file for analysis
- Select Analysis → Aperture Photometry
- Set parameters:
- FWHM: Full Width Half Maximum (typical: 3-8 pixels)
- Threshold: Detection threshold in sigma units (typical: 2-5)
- Results are saved as CSV files containing source positions and photometry
├── main.py # Main application entry point
├── gui.py # Main GUI interface
├── photometry.py # Aperture photometry module
├── conversion.py # RAW to FITS conversion
├── fits_handler.py # FITS file operations
├── config.py # Configuration and logging setup
├── requirements.txt # Python dependencies
├── Class.spec # PyInstaller build configuration
└── README.md # This file
- NumPy: Numerical computations
- Pandas: Data manipulation
- Astropy: Astronomical data handling
- Photutils: Photometry utilities
- Matplotlib: Plotting and visualization
- rawpy: RAW image processing
- exifread: EXIF metadata extraction
- Pillow: Image processing
To create a standalone executable:
pyinstaller Class.spec- Image Quality: Use FITS format for scientific analysis
- Noise Reduction: Stack multiple images of the same target
- Photometry Parameters: Adjust FWHM and threshold based on your image characteristics
- File Organization: Keep RAW files and processed FITS files organized in separate folders
- Missing Dependencies: Run
pip install -r requirements.txt - RAW File Support: Ensure LibRaw is properly installed (included with rawpy)
- Memory Issues: For large images, close other applications to free RAM
- File Permissions: Ensure write permissions for output directories
Application logs are saved in the logs/ directory with timestamps for debugging.
- Removed authentication system
- Modular architecture with separate files
- Improved error handling and logging
- Enhanced progress tracking
- Better user interface
- Comprehensive documentation
- Initial release with basic functionality
- M. Burhan Khan Lodhi
- Shomyal Khan
- Mushahid Zafar Jafri
Institution: University of Management and Technology, Sialkot
All rights reserved by University of Management and Technology, Sialkot.
For technical support or bug reports, please contact the development team.