serpentTools.readDepmtx¶
-
serpentTools.readDepmtx(filePath, sparse=True)¶ Simple entry point to obtain data from depletion matrix files
- Parameters
- Returns
dt (float) – Length of depletion interval
n0 (
numpy.ndarray) – 1D vector of initial isotopics. Ordered according tozaivectorzai (
numpy.ndarray) – 1D vector ofZZAAAIisotope identifiersA (
numpy.ndarrayorscipy.sparse.csc_matrix) – Depletion matrix governing decay/production of isotopics. Will be a sparse matrix ifsparsewas passed asTrueandscipyis installed.n1 (
numpy.ndarray) – 1D vector of isotopics after depletion event.