Skip to content

Resolve questions of how meta should behave for SpectrumCollection #327

@eteq

Description

@eteq

Some issues are lingering from #273 with respect to how meta should behave when a SpectrumCollection is created from multiple Spectrum1D objects. See #273 (comment) and follow-on comments for more discussion. The core question: how should they be "indexed"? More specifically:

  1. Should the keys be (i, j, ..) to match the ? Or should the dict be ordered (either implicity or explicitly) so that meta.values()[i,j,...] do the right thing?
  2. Should the meta instead not even be a nested set of dicts, but rather be merged? This could be an optional keyword to add to the SpectrumCollection.from_spectra method.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions