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

DM-43043: Add AuxTel slew analysis plotting #30

Merged
merged 4 commits into from Mar 1, 2024
Merged

Conversation

mfisherlevine
Copy link
Contributor

No description provided.

postPadding=postPadding,
warn=False # most commands will not be issue so we expect many empty queries
)
if not data.empty:
Copy link

Choose a reason for hiding this comment

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

Do you need this if? Won't the iterrows() below just execute the body zero times if empty? ("I think it is more clear this way" is an acceptable answer, since performance impact is clearly negligible.)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No no, you're exactly right - I don't pandas all that often, and there was a place where I did need to check, because I was merging dataframes, and if it was empty then the merge would fail due to the missing columns to merge on, and I'd just mis-extrapolated from that.


This function plots the mount position data for the entire time range of
the exposures, regardless of whether the exposures are contiguous or not.
The exposures are be shaded in the plot to indicate the time range for each
Copy link

Choose a reason for hiding this comment

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

grammo "are be"

Copy link

@fritzm fritzm left a comment

Choose a reason for hiding this comment

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

LGTM -- couple very minor comments left

@mfisherlevine mfisherlevine merged commit 6950ab9 into main Mar 1, 2024
1 check passed
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.

None yet

2 participants