# Error in gmag and rmag

**URL:** <https://www.rubin.community/t/error-in-gmag-and-rmag/8000>\
**Category:** Lasair\
**Created:** [October 16, 2023, 1:49pm UTC](https://www.rubin.community/t/error-in-gmag-and-rmag/8000 "2023-10-16T13:49:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BWarwick](https://avatars.discourse-cdn.com/v4/letter/b/71c47a/32.png) [@BWarwick](https://www.rubin.community/u/BWarwick)\
**Post date:** [October 16, 2023, 1:49pm UTC](https://www.rubin.community/t/error-in-gmag-and-rmag/8000/1 "2023-10-16T13:49:23Z")

</div>

In objects is there a way to use the error in g and r to filter objects?

---

<div class="post-metadata">

**Author:** ![roy](https://sea2.discourse-cdn.com/flex002/user_avatar/www.rubin.community/roy/32/1254_2.png) [@roy](https://www.rubin.community/u/roy)\
**Post date:** [October 16, 2023, 2:16pm UTC](https://www.rubin.community/t/error-in-gmag-and-rmag/8000/2 "2023-10-16T14:16:46Z")

</div>

I’m sorry, Lasair doesn’t convert the error in magnitude to a lightcurve feature and store it in the objects tables. You would have to look at the individual candidate data packets: from the object page, look at the “ZTF Alert Packet Data”, and there are the original data packets in the “alert packet” column of the table.

For example [this supernova](https://lasair-ztf.lsst.ac.uk/objects/ZTF23abjjqxf/) had detections on 2023-10-15 with

- in r: psfmag=15.785 and sigmapsf=0.029
- in g: psfmag=15.787 and sigmapsf=0.036
