Skip to content

Automatic conversion of numpy arrays #19

@klemenv

Description

@klemenv

Especially when returning a bumpy array, it would be great if we didn't have to explicitly convert it to Python list. An example of explicit conversion to Python list:

record(waveform, "Signal:X") {
  field(DTYP, "pydev")
  field(NELM, "600")
  field(FTVL, "DOUBLE")
  field(INP,  "@list(np.linspace(0, 0.75, 600))")
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions