I'm new to photometry and are trying to use PI's function before i try something else, but i can't get it to calculate the magnitude of the stars i'm trying to measure.
The script doesn't calculate the magnitude of the stars. The columns Rmag, Bmag, ... contain a value extracted from the selected catalog. If the catalog doesn't have the magnitude of a filter for a star, the cell is left empty.