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

Handle variable number of arrays to interpolate #3

Open
matthewrankin opened this issue Jul 1, 2013 · 0 comments
Open

Handle variable number of arrays to interpolate #3

matthewrankin opened this issue Jul 1, 2013 · 0 comments
Assignees

Comments

@matthewrankin
Copy link
Member

Refactor code so that a variable number of arrays can be provided that will be interpolated onto the base array's frequency points and then added to the base array.

Current Function Signature

def apply_antenna_factor(analyzer_readings, antenna_factors,
                         cable_losses=False, keep_max=True):

Potential New Function Signature

def apply_antenna_factor(base_array, keep_max=True, *args, **kwargs):

Then iterate through args and kwargs and interpolate and add as needed.

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

No branches or pull requests

1 participant