spectrochempy.Project.add_datasets¶
- Project.add_datasets(*datasets)[source]¶
Add several datasets to the current project.
- Parameters
*datasets (series of |NDDataset|) – Datasets to add to the current project. The name of the entries in the project will be identical to the names of the datasets.
See also
add_dataset
Add a single dataset to the current project.
Examples
>>> ds1 = scp.NDDataset([1, 2, 3]) >>> ds2 = scp.NDDataset([4, 5, 6]) >>> ds3 = scp.NDDataset([7, 8, 9]) >>> proj = scp.Project() >>> proj.add_datasets(ds1, ds2, ds3)