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

ENH: Data Insight Tool #87

Closed
wants to merge 406 commits into from
Closed

Conversation

zdomke
Copy link
Collaborator

@zdomke zdomke commented Dec 12, 2024

Created a tool to view and export all data points shown on the plot. As of right now, the method of opening the tool is just a button on the top left of the main display labeled "Data Insight Tool". This should probably be moved somewhere else, but I'm not sure where.

The widget consists of 4 main widgets:

  1. The PV Selection Combobox
    a. Only shows PVs for ArchiverPlotCurveItems (does not work for FormulaCurveItems yet)
  2. Refresh Data Button
    a. Useful for if the range on the plot's x-axis changes. Prompt's data fetching as needed.
  3. Export Data Button
    a. Prompts user to select a file and format to write the data to.
    b. Allows for .csv, .mat, & .json as of right now
  4. TableView
    a. Shows all the data as well as its source (live or archive)
    b. The leftmost column is the datetime in ISO 8601 format. This column is frozen so that it is always shown, regardless of how far right the user scrolls

The widget only shows data for one curve at a time, but users can open multiple instances of this tool to see data for multiple curves in separate windows.

Tests are a work in progress as of writing this. They are nearly done.

Future development:

  • Add sorting & filtering to TableView
  • Add FormulaCurveItem capabilities
  • Add alarm status for live data once that is collected
  • Finish writing tests

zdomke and others added 30 commits August 9, 2024 14:33
FIX: Small Bug Fixes for File IO
…hem, we DFS to find if there is ever a looping dependency and fail only if that happens
…rop. Also, double clicking a PV name will add that PV (only one) to the table
ENH: Style column in traces_table sets curve's stepMode
@zdomke zdomke marked this pull request as ready for review December 17, 2024 17:46
@zdomke zdomke changed the base branch from main to gh-pages December 17, 2024 17:46
@zdomke zdomke closed this Dec 17, 2024
@zdomke
Copy link
Collaborator Author

zdomke commented Dec 17, 2024

Tried to prompt a reload on a new branch. Instead Github decided to close the PR

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