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

Fixed output formats to match singlecam #27

Merged
merged 6 commits into from
Jan 16, 2025

Conversation

keeminlee
Copy link
Collaborator

No description provided.

Copy link
Collaborator

@themattinthehatt themattinthehatt left a comment

Choose a reason for hiding this comment

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

looks great! just a couple minor fixes

@@ -26,7 +26,8 @@ def fit_eks_mirrored_multicam(
camera_names: Optional[list] = None,
quantile_keep_pca: float = 95,
avg_mode: str = 'median',
zscore_threshold: float = 2,
var_mode: str = 'confidence_weighted_var',
verbose: bool = False
Copy link
Collaborator

Choose a reason for hiding this comment

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

add docstrings for these new args, remove docstring for zscore_threshold

@@ -96,7 +105,8 @@ def fit_eks_multicam(
camera_names: Optional[list] = None,
quantile_keep_pca: float = 95,
avg_mode: str = 'median',
zscore_threshold: float = 2,
var_mode: str = 'confidence_weighted_var',
verbose: bool = False
Copy link
Collaborator

Choose a reason for hiding this comment

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

add/remove corresponding entries in docstring

input_dfs (list): List of input DataFrames for plotting.
bodypart_list (list): List of body parts used.

"""
Copy link
Collaborator

Choose a reason for hiding this comment

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

indent

@@ -89,7 +92,7 @@ def ensemble_kalman_smoother_singlecam(
blocks: list = [],
avg_mode: str = 'median',
var_mode: str = 'confidence_weighted_var',
zscore_threshold: float = 2,
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove from docstring

output_df=output_dfs[camera_c],
input_dfs_list=input_dfs[camera_c],
output_df=camera_dfs[1],
input_dfs_list=input_dfs[-1],
Copy link
Collaborator

Choose a reason for hiding this comment

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

change these back to camera_c? indices should match

@themattinthehatt themattinthehatt merged commit a3acaba into main Jan 16, 2025
1 check passed
@themattinthehatt themattinthehatt deleted the keypoint-vectorized-multicam-funcs branch January 16, 2025 18:12
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.

2 participants