8000 [Feature]: `add_components!` with multiple names and global type · Issue #78 · harmoniqs/NamedTrajectories.jl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[Feature]: add_components! with multiple names and global type #78
Closed
@andgoldschmidt

Description

@andgoldschmidt

Feature Description

function add_component!(
    traj::NamedTrajectory,
    name::Symbol,
    data::AbstractVecOrMat{Float64};
    type=:state
)

only adds one component at a time. Adding multiple names would require unnecessary repeat construction of the named trajectory object. Instead, a method for multiple names should be written as the default.

Additionally, the :global type should be added as an allowed component to add to the trajectory.

Importance

1 (lowest)

What does this feature affect?

  • construction
  • methods
  • plotting
  • documentation
  • tests
  • other (please specify below)

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0