irgsctool - tutorials

1. Generating IRGSC for a given set of coordinates

from irgsctool import GenerateIRGSC
gc = GenerateIRGSC(ra=0.0, dec=0.0)
gc.generate_irgsc()
This results in a catalog file: 'IRGSC_R_A_0_0_DEC_0_0.csv' that contains probable stellar sources in 0.25 degrees radius around the input coordinates. The following plots are also generated:

ccd
Figure 1: The generated plot shows a color-color diagram where stars follow the magenta locus and the galaxies are randomly scattered.

PSFKRON
Figure 2: The (psf-kron) relation of the sources plotted on the y-axis w.r.t i-psf on the x-axis. The galaxies form a random scatter while the stellar point sources are below 0.05 on the y-axis.

imag
Figure 3: A histogram showing the depth of PANSTARRS data when only i-band observations are considered. This is sufficient depth to upto J = 22 mags in the IRGSC.

allmag
Figure 4: The figure shows the histogram of the sources that are detected in all the five filters of the PANSTARRS. The condition in the generation of IRGSC that the sources must have detection in all the filters reduces the depth of the input optical data.

2. Validating the IRGSC

from irgsctool import ValidateIRGSC
vd = ValidateIRGSC(0.0,0.0)
vd.validate(validate=True)
This results in the validated catalog file: validated_IRGSC_R_A_0_0_DEC_0_0.csv' that contains additional information about the observed NIR data and the comparison between the observed and computed NIR data. This comparison when plotted appears as shown in Figure (5,6,7).

comparison_j
Figure 5: The figure shows the comparison of the computed and observed J band magnitudes.

comparison_h
Figure 6: The figure shows the comparison of the computed and observed J band magnitudes.

comparison_k
Figure 7: The figure shows the comparison of the computed and observed J band magnitudes.