Skip to content

Handle variable number of arrays to interpolate #3

@matthewrankin

Description

@matthewrankin

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions