Hi Lasair team,
What is the difference between objects_ext.r_psfFluxNdata and objects.nrSources?
When I include these in a simple supernova query, I find:
Most of the objects have nrSources > 0
Some objects have nrSource == r_psfFluxNdata
Most objects have r_psfFluxNdata == 0
The schema browser says:
nrSources : ‘Number of r sources’
r_psfFluxNdata : ‘The number of r-band data points.’
So I guess a more fundamental question is, what is the difference between a source and a data point?
The nrSources is made by Lasair, and pre-dates the Rubin attribute r_psfFluxNdata. I have no idea why the latter is often zero even when the number of r-band diaSources is not zero.
The column description for r_psfFluxNdata in the DiaObject table is “The number of data points used to compute r_psfFluxChi2”, which seems different from objects.nrSources. In case this isn’t the answer you were looking for, feel free to unmark the solution and we can keep looking into it.