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

Generalise graph2dRange feedback to the scatter plot viewer #5297

Closed
eatyourgreens opened this issue Sep 6, 2023 · 7 comments
Closed

Generalise graph2dRange feedback to the scatter plot viewer #5297

eatyourgreens opened this issue Sep 6, 2023 · 7 comments
Labels
enhancement New feature or request

Comments

@eatyourgreens
Copy link
Contributor

Graph2dRangeFeedback here is hardcoded to use the TESS LightCurveViewer. It should be generalised so that feedback can also be displayed in the scatter plot viewer eg. for Black Hole Hunters.

return (
<LightCurveViewer
data={data}
drawFeedbackBrushes={drawFeedbackBrushes}
feedback={feedback}
/>
)

@adammcmaster
Copy link
Contributor

I think maybe this should have been closed when #5298 merged?

@eatyourgreens
Copy link
Contributor Author

This should stay open until feedback is implemented in the scatter plot viewer. At the moment, it's only available in the light curve viewer, which is specific to PH-TESS subjects.

@adammcmaster
Copy link
Contributor

Are you sure? I'm using feedback on BHH...

@eatyourgreens
Copy link
Contributor Author

Yep. #5298 passes the feedback brushes down to the viewer, but theres no code in place to render them, which is why you aren't seeing any vertical bars for the simulated data.

@eatyourgreens
Copy link
Contributor Author

feedbackBrushes are currently only available in the LCV, here:

function drawFeedbackBrushes(d3annotationsLayer, repositionBrush, feedbackBrushes) {
feedbackBrushes.forEach(feedbackBrush => {
feedbackBrush.brush = brushX()
})

@eatyourgreens
Copy link
Contributor Author

eatyourgreens commented Jan 17, 2024

I think that this can be closed once #5857 merges, and that would mean that the old light curve viewer can be deprecated (#5324.)

@eatyourgreens
Copy link
Contributor Author

Closed by #5857.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants