elphick / mass-composition

Manage mass composition math operations and visualisation
https://elphick.github.io/mass-composition/
MIT License
1 stars 1 forks source link

Create helper to instantiate multiple objects #105

Closed elphick closed 1 year ago

elphick commented 1 year ago

A DataFrame containing more than one stream can be used to create a MCNetwork object. However at times we may wish to create multiple MassComposition objects from such a DataFrame, but not create an MCNetwork object.

This task is to leverage the existing code to create a helper function that will return a dictionary of MassComposition objects from a DataFrame.