#include <IMP/bff/bff_config.h>
#include <stdlib.h>
#include <limits>
#include <cmath>
#include <algorithm>
#include <unordered_set>
#include <queue>
#include <vector>
#include <utility>
#include <Eigen/Dense>
#include <IMP/Object.h>
#include <IMP/Particle.h>
#include <IMP/core/XYZR.h>
#include <IMP/em/SampledDensityMap.h>
#include <IMP/em/MRCReaderWriter.h>
#include <IMP/em/XplorReaderWriter.h>
#include <IMP/em/EMReaderWriter.h>
#include <IMP/em/SpiderReaderWriter.h>
#include <IMP/bff/PathMapHeader.h>
#include <IMP/bff/PathMapTile.h>
#include <IMP/bff/PathMapTileEdge.h>
Go to the source code of this file.
|
IMPEMEXPORT void | write_path_map (PathMap *m, std::string filename, int value_type, const std::pair< float, float > bounds=std::pair< float, float >(std::numeric_limits< float >::min(), std::numeric_limits< float >::max()), const std::string &feature_name="") |
| Writes a path map to a file.
|
|
◆ write_path_map()
IMPEMEXPORT void write_path_map |
( |
PathMap * |
m, |
|
|
std::string |
filename, |
|
|
int |
value_type, |
|
|
const std::pair< float, float > |
bounds = std::pair< float, float >(std::numeric_limits< float >::min(), std::numeric_limits< float >::max()) , |
|
|
const std::string & |
feature_name = "" |
|
) |
| |
Writes a path map to a file.
Guesses the file type from the file name. The supported file formats are:
- .mrc/.map
- .em
- .vol
- .xplor
- Parameters
-
m | The PathMap object to write. |
filename | The name of the file to write to. |
value_type | The value type. |
bounds | The bounds of the path map. |
feature_name | The name of the feature. |