Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualizations post ChiRho #469

Merged
merged 59 commits into from
Feb 7, 2024
Merged

Visualizations post ChiRho #469

merged 59 commits into from
Feb 7, 2024

Conversation

JosephCottam
Copy link
Contributor

Re-instating the visualization tools.

Includes an overhaul of the visualization tests:

  • pytest basis
  • Uses simulation system to create data
  • Tests the image export functions for some schemas for stability of results

JosephCottam and others added 30 commits January 24, 2024 15:24
Histogram picks up label from series  (if present)
pyciemss_results["parameters"][name] = (
sample.data.detach().cpu().numpy().astype(np.float64)
)
else:
name = name + "_state"
name = name + "_state" if not (name.endswith("_state")) else name
Copy link
Contributor

@SamWitty SamWitty Feb 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I was going to look into why _state was being repeated twice, but this addressed it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A whole bunch fiddly little things in this world.

I had another one that didn't append _state if it was an _observable but that wasn't obviously the right thing to do (it made labels look a little better which is why I did it) AND broke other tests so I changed that back. Something to consider in the future.

@SamWitty SamWitty self-requested a review February 7, 2024 19:01
Copy link
Contributor

@SamWitty SamWitty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed together. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants