rameau.core.states.StatesCollection.to_file
- StatesCollection.to_file(path, index=None)[source]
Dump
StatesCollectionto text file.- Parameters:
path (
str) – Path to the text file.index (
listornumpy.ndarray) – Integer indexes to associate with eachStateswatershed stored in theStatesCollection. IfNone, default is a range of integers from 1 to the number of storedStates.