sblunt / orbitize

Orbit-fitting for directly imaged objects
https://orbitize.info
Other
74 stars 43 forks source link

Advanced plotting tutorial errorbar example code not good for datasets containing RV points #311

Closed rbowru closed 2 years ago

rbowru commented 2 years ago

version: 2.0.0 computer type: linux

I've discovered that the example code in the "advanced plotting" tutorial doesn't work perfectly for the orbit plot if you apply it to a dataset with RV. In the example where it's shown how to add errorbars, the sep and pa get pulled from 'quant1' and 'quant2'. When you have RV data, quant1 is the measured RV (rather than the separation).

There may also be an issue for users with a mix of PA and Sep vs RA and Dec with the relative astrometry data. Here's a screenshot of my data_tab, so you can see what I mean.

Thank you again!

image

image

image

sblunt commented 2 years ago

Automated error bar plotting added in PR #318, and this part of the tutorial has been removed.

sblunt commented 2 years ago

Addressed in PR #318.