#include <gemmi/ccp4.hpp>
template<typename T = float>
Ccp4 struct
Contents
- Reference
Public functions
- auto header_word(int w) -> void*
- auto header_word(int w) const -> const void*
-
auto header_i32(int w) const -> int32_
t - auto header_float(int w) const -> float
-
auto header_str(int w,
size_t len = 80) const -> std::
string -
void set_header_i32(int w,
int32_
t value) -
void set_header_3i32(int w,
int32_
t x, int32_ t y, int32_ t z) - void set_header_float(int w, float value)
-
void set_header_str(int w,
const std::
string& str) - void prepare_ccp4_header(int mode)
- void update_ccp4_header(int mode, bool update_stats = false)
- auto full_cell() const -> bool
-
auto axis_positions() const -> std::
array<int, 3> - auto header_rfloat(int w) const -> double
-
template<typename Stream>void read_ccp4_header(Stream f, const std::
string& path) - auto setup(GridSetup mode, T default_value) -> double
-
template<typename Stream>void read_ccp4_stream(Stream f, const std::
string& path) -
void read_ccp4_file(const std::
string& path) -
void read_ccp4_from_memory(const char* data,
size_t size,
const std::
string& name) -
template<typename Input>void read_ccp4(Input&& input)
-
void write_ccp4_map(const std::
string& path) const