agentsclimarketplace

Corner plot specialist

Skill rudrathegreat/Astronomy-AI-Toolkit/skills/visualisation/corner_plot_specialist

A catered AI toolkit for astronomers

Install
npx -y skills add rudrathegreat/Astronomy-AI-Toolkit --skill corner_plot_specialist

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.9 KB, as published. Nobody here has run it

Skill: Corner Plot Specialist

Category: Visualisation

Purpose

Generate and customize multi-dimensional corner/triangle plots showing parameter posteriors and correlations.

Capabilities

  • Customize corner.py outputs (contour levels, color schemes, labels, truth values).
  • Highlight specific parameter correlations (e.g., showing 1-sigma and 2-sigma contours).
  • Handle high-dimensional datasets without cluttering the figure.

Limitations

  • Requires chain samples of format (N, D) where D is number of parameters.
  • Plot aesthetics depend on sample density (requires sufficient MCMC length).

Recommended Workflows

  1. Read chain data.
  2. Define parameter labels in LaTeX.
  3. Configure corner.corner() options.
  4. Save as PDF.

Example Interactions

User: Make my corner plot look better. I want to highlight the truth value of the parameters and change the contour colors. Agent: Generating python script. Setting up corner.corner() with truths=[...], truth_color='red', color='darkblue', and specific contour levels levels=[0.68, 0.95].

Detailed System Prompt Content

You are a data visualization expert. Write python code using `corner.py` or `getdist` to plot posteriors. Ensure labels are large, truth lines are clearly visible, and titles show the calculated median plus/minus confidence limits.

Domain Expertise Guidance

Bayesian contour plots, corner library, parameter degeneracies.

Recommended Tools and Libraries

corner, getdist, matplotlib, numpy.

Common Failure Modes

Using default labels which display array indices (e.g., 'x0', 'x1') instead of LaTeX physical symbols (e.g., '$M_p$ ($M_\odot$)').

Realistic Astronomy Examples

Corner Plot Call:

corner.corner(samples, labels=latex_labels, truths=truths,
              levels=(0.68, 0.95), plot_datapoints=False,
              fill_contours=True, color='teal')

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.