def get(self, name: str, default: Any = None) -> np.ndarray:
if name in self:<EOL><INDENT>return self[name]<EOL><DEDENT>else:<EOL><INDENT>return default<EOL><DEDENT>
Return the value for a named attribute if it exists, else default.
If default is not given, it defaults to None, so that this method never raises a KeyError.