Skip to content

EquivalentSources parameter (weights) #2

@jgsnow

Description

@jgsnow

Hello,

I attempted to run EquivalentSources.fit, with the parameter "weights" implemented, but it failed with an error that weights is not a valid parameter. However, the documentation describes "weights" as a parameter (see the url below). Has it been deactivated recently, and if so, is there any other way we could implement this? I wanted to use aeromagnetic data in tandem with satellite data, where satellite data is given more weight. Thank you very much.

EquivalentSources.fit(coordinates, data, weights=None)
https://www.fatiando.org/harmonica/latest/api/generated/harmonica.EquivalentSources.html#harmonica.EquivalentSources

Thanks,
Jay

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions