| | 223 | |
| | 224 | Some more investigations: |
| | 225 | |
| | 226 | {{{ |
| | 227 | select (ndetections - ng - nr -ni -nz -ny), count(*) from object where ndetections> -999 group by ((ndetections - ng - nr -ni -nz -ny) ) |
| | 228 | order by ((ndetections - ng - nr -ni -nz -ny) ) |
| | 229 | }}} |
| | 230 | |
| | 231 | This gives a table like this: |
| | 232 | |
| | 233 | {{{ |
| | 234 | diff count(diff) |
| | 235 | 0 14332649 |
| | 236 | 1 436944 |
| | 237 | 2 113206 |
| | 238 | 3 31720 |
| | 239 | 4 12837 |
| | 240 | 5 729 |
| | 241 | 6 1337 |
| | 242 | 7 78 |
| | 243 | 8 299 |
| | 244 | 9 37 |
| | 245 | 10 5 |
| | 246 | 11 6 |
| | 247 | 12 15 |
| | 248 | 13 2 |
| | 249 | 22 1 |
| | 250 | }}} |
| | 251 | |
| | 252 | lets investigate in my subset of objects. Lets look at where the difference = 8 |
| | 253 | |
| | 254 | {{{ |
| | 255 | select * from sas9objects2 where ((ndetections - ng - nr -ni -nz -ny) ) = 8 |
| | 256 | }}} |
| | 257 | {{{ |
| | 258 | ippobjid ra dec ndet ng nr ni nz ny |
| | 259 | 18915000068213 334.003331264054 0.173672694705413 10 0 0 0 0 2 |
| | 260 | 18914000071139 333.565131996048 0.0149163575293166 10 0 0 0 0 2 |
| | 261 | 93274000064190 333.210589389621 -0.823610922500866 10 0 0 0 0 2 |
| | 262 | 93274000064238 333.213851183943 -0.820473251004263 10 0 0 0 0 2 |
| | 263 | 93278000058694 333.610383900768 -0.178547334031098 11 0 0 0 0 3 |
| | 264 | 18916000069421 334.402330333111 0.388832517325818 19 0 0 4 4 3 |
| | 265 | 93275000078069 333.805282911705 -0.811373935148214 10 0 0 0 0 2 |
| | 266 | 93274000064493 333.229893419105 -0.807992283581902 10 0 0 0 0 2 |
| | 267 | 93273000067099 333.017920578856 -0.798191607076108 10 0 0 0 0 2 |
| | 268 | 18916000071745 334.794921756804 0.621440169464687 10 0 0 0 0 2 |
| | 269 | 18920000067165 334.698473145177 0.799924706194001 10 0 0 0 0 2 |
| | 270 | 18920000068631 334.80890851311 0.808805008767286 20 4 0 0 4 4 |
| | 271 | 93279000050876 333.919744618416 -0.0100643274020041 11 0 0 0 0 3 |
| | 272 | }}} |
| | 273 | |
| | 274 | ok. I'm going to grab a couple of them (18915000068213 and 18920000068631) and see what they look like in stackdetectionfull and detectionfull: |
| | 275 | |
| | 276 | |
| | 277 | for 18915000068213: |
| | 278 | |
| | 279 | {{{ |
| | 280 | select ippobjid, filterid, instflux, instfluxerr from stackdetectionfull where ippobjid = 18915000068213 order by filterid |
| | 281 | }}} |
| | 282 | |
| | 283 | {{{ |
| | 284 | ippobjid filterid instflux instfluxerr |
| | 285 | 18915000068213 1 1.28959 -999 |
| | 286 | 18915000068213 1 1.31326 -999 |
| | 287 | 18915000068213 2 1.42652 -999 |
| | 288 | 18915000068213 2 1.42781 -999 |
| | 289 | 18915000068213 3 1.56402 -999 |
| | 290 | 18915000068213 3 1.66755 -999 |
| | 291 | 18915000068213 4 3.29652 -999 |
| | 292 | 18915000068213 4 3.29929 -999 |
| | 293 | 18915000068213 5 22.7659 4.12512 |
| | 294 | 18915000068213 5 23.4272 4.06752 |
| | 295 | }}} |
| | 296 | |
| | 297 | for 18920000068631 |
| | 298 | |
| | 299 | {{{ |
| | 300 | select ippobjid, filterid, instflux, instfluxerr from stackdetectionfull where ippobjid = 18920000068631 order by filterid |
| | 301 | }}} |
| | 302 | |
| | 303 | {{{ |
| | 304 | ippobjid filterid instflux instfluxerr |
| | 305 | 18920000068631 1 0.44921 0.729298 |
| | 306 | 18920000068631 1 0.857526 0.686621 |
| | 307 | 18920000068631 1 0.905281 0.692741 |
| | 308 | 18920000068631 1 1.10313 0.753273 |
| | 309 | 18920000068631 2 1.43996 -999 |
| | 310 | 18920000068631 2 1.50241 -999 |
| | 311 | 18920000068631 2 1.50626 -999 |
| | 312 | 18920000068631 2 1.759 -999 |
| | 313 | 18920000068631 3 1.56143 -999 |
| | 314 | 18920000068631 3 1.60222 -999 |
| | 315 | 18920000068631 3 1.61214 -999 |
| | 316 | 18920000068631 3 1.66739 -999 |
| | 317 | 18920000068631 4 2.88612 1.94558 |
| | 318 | 18920000068631 4 3.2843 1.95199 |
| | 319 | 18920000068631 4 3.54056 1.91966 |
| | 320 | 18920000068631 4 3.92929 1.96794 |
| | 321 | 18920000068631 5 28.1172 4.92211 |
| | 322 | 18920000068631 5 28.1232 4.99574 |
| | 323 | 18920000068631 5 28.8979 5.30701 |
| | 324 | 18920000068631 5 30.4016 5.37306 |
| | 325 | }}} |
| | 326 | |
| | 327 | checking detectionfull returns nothing for both of these objects, here are the queries to check: |
| | 328 | |
| | 329 | {{{ |
| | 330 | select ippobjid, filterid, instflux, instfluxerr from detectionfull where ippobjid = 18915000068213 order by filterid |
| | 331 | select ippobjid, filterid, instflux, instfluxerr from detectionfull where ippobjid = 18920000068631 order by filterid |
| | 332 | |
| | 333 | }}} |
| | 334 | |
| | 335 | But, it appears that the missing detections do exist in stackdetectionfull as limiting magnitudes... |