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 tozai
vectorzai (
numpy.ndarray
) – 1D vector ofZZAAAI
isotope identifiersA (
numpy.ndarray
orscipy.sparse.csc_matrix
) – Depletion matrix governing decay/production of isotopics. Will be a sparse matrix ifsparse
was passed asTrue
andscipy
is installed.n1 (
numpy.ndarray
) – 1D vector of isotopics after depletion event.