Obsidian
Probabilistic Geophysical Joint Inversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
npy.cpp File Reference
#include "npy.hpp"
Include dependency graph for npy.cpp:

Namespaces

 obsidian
 
 obsidian::io
 

Functions

void obsidian::io::writeNPY (const Eigen::MatrixXd &matrix, const std::string &filename)
 
Eigen::MatrixXd obsidian::io::readNPY (const std::string &filename)
 Read from an NPY file containing a single floating point matrix. More...
 
Eigen::MatrixXi obsidian::io::readNPYi (const std::string &filename)
 Read from an NPY file containing a single integer matrix. More...
 
Eigen::MatrixXcd obsidian::io::readNPYc (const std::string &filename)
 Read from an NPY file containing a single complex matrix. More...
 
Eigen::MatrixXd obsidian::io::readNPZ (const std::string &filename, const std::string &key)
 Read from a specific key of an NPZ file containing a single floating point matrix. More...
 
void obsidian::io::writeNPZ (const std::string &filename, const std::map< std::string, Eigen::MatrixXd > &mats, bool overwrite)
 

Detailed Description

Author
Lachlan McCalman
Date
January 2014
License:
General Public License version 3 or later