BASTAcode / BASTA

BASTA: The BAyesian STellar Algorithm
https://basta.readthedocs.io/
MIT License
21 stars 3 forks source link

Add the starid to the plots #45

Closed amaliestokholm closed 9 months ago

amaliestokholm commented 9 months ago

When studying multiple pdfs at a time, I usually combine them into a single pdf using pdfjam and look at them by scrolling through for faster assessment.

However, the downside of this method is that the starid is no longer available as this is only saved in the name of the figure as part of outputname.

It would be great to either have a flag or a default where the name of the star is added to the Kiel and corner plots.

This could be done in plot_driver.py by splitting outputname on / and take index -1 and then adding it to the figure using annotate or the like. It can be in tiny font.

MLWinther commented 9 months ago

I have (very plainly) added the feature to include it in corner plots and Kiel diagrams, and set up a pull request. Examples are as below, is this the desired behavior? 16CygA_corner 16CygA_kiel

amaliestokholm commented 9 months ago

This is exactly that - thank you!