Skip to content

Check the number of signal and number of sources positions #213

Description

@astanziola

The user should receive an error when tries to do something like

sources = Sources(
  positions=((32,),(32,),(32,)),
  signals=jnp.stack([s1, s1]),
  dt=time_axis.dt,
  domain=domain,
)

since the number of signals is not the same as the number of sources positions

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions