Skyglow FFT - Fast Fourier Transform based pipeline for calculation of skyglow extent from VIIRS-DNB imagery
This Python script calculates horizontal skyglow from VIIRS-DNB images via a simple convolution using a Fast Fourier Transform (FFT), as opposed to usual, inefficient pixel-by-pixel methods.
The dependencies for the scripts are:
- Numpy - Mathematical functionality and Linear Algebra
- Rasterio - Raster manipulation
- Matplotlib - Data Visualisation
- Tqdm - Progress Bars
- TOML - Python TOML parser
The necessary libraries can be installed via: pip install -r requirements.txt
To run the script, use python main.py
.
Please, ensure you set up the correct paths, directories and model parameters in the settings.toml
file.
More information on the method can be found in:
Bará, et al. (2019), "Fast Fourier-transform calculation of artificial night sky brightness maps"
Available at: https://arxiv.org/abs/1907.02891