diff --git a/python/src/format.endf.python.cpp b/python/src/format.endf.python.cpp index f3ea812..444d654 100644 --- a/python/src/format.endf.python.cpp +++ b/python/src/format.endf.python.cpp @@ -29,6 +29,14 @@ namespace format { python::overload_cast< njoy::codex::NuclideID, njoy::codex::ReactionID, const njoy::ENDFtk::section::SquareMatrix& >( &njoy::codex::format::fromENDF ), python::arg( "nuclide" ), python::arg( "reaction" ), python::arg( "endf" ), + "Return a CovarianceBlock from an ENDF SquareMatrix component" ) + .def( "from_endf", + python::overload_cast< njoy::codex::NuclideID, njoy::codex::ReactionID, + njoy::codex::NuclideID, njoy::codex::ReactionID, + const njoy::ENDFtk::section::SquareMatrix& >( &njoy::codex::format::fromENDF ), + python::arg( "row_nuclide" ), python::arg( "row_reaction" ), + python::arg( "column_nuclide" ), python::arg( "column_reaction" ), + python::arg( "endf" ), "Return a CovarianceBlock from an ENDF SquareMatrix component" ); } } // namespace format