Skip to content

Option to copy array annotations in duplicate_with_new_data() function #752

Open
@mdenker

Description

@mdenker

In the general case, it's desirable to not copy array annotations when duplicating an object with new data. However, sometimes it may make sense, e.g., when z-scoring an analog signal. The code is simple: see #258 in https://github.com/NeuralEnsemble/elephant/pull/258/files

So, the duplicate_with_new_data() function could get a new flag
copy_array_annotations=False

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions