Path-pattern sink that writes one .npy file per frame.
More...
#include <ca-npy.H>
|
| | Npy_Frame_Sink (std::filesystem::path path_pattern, const std::size_t zero_pad=6) |
| | Build an NPY frame sink.
|
| |
| template<typename Lattice > |
| void | accept (const std::size_t step, const Lattice &frame) |
| | Write one NPY frame.
|
| |
| void | flush () |
| | NPY frames are written eagerly; this is a no-op.
|
| |
Path-pattern sink that writes one .npy file per frame.
Definition at line 183 of file ca-npy.H.
◆ Npy_Frame_Sink()
| Aleph::CA::Npy_Frame_Sink::Npy_Frame_Sink |
( |
std::filesystem::path |
path_pattern, |
|
|
const std::size_t |
zero_pad = 6 |
|
) |
| |
|
inlineexplicit |
Build an NPY frame sink.
- Parameters
-
| [in] | path_pattern | output path pattern. |
| [in] | zero_pad | minimum width for {step}. |
Definition at line 193 of file ca-npy.H.
◆ accept()
| void Aleph::CA::Npy_Frame_Sink::accept |
( |
const std::size_t |
step, |
|
|
const Lattice & |
frame |
|
) |
| |
|
inline |
◆ flush()
| void Aleph::CA::Npy_Frame_Sink::flush |
( |
| ) |
|
|
inline |
NPY frames are written eagerly; this is a no-op.
Definition at line 214 of file ca-npy.H.
◆ pattern_
| std::filesystem::path Aleph::CA::Npy_Frame_Sink::pattern_ |
|
private |
◆ zero_pad_
| std::size_t Aleph::CA::Npy_Frame_Sink::zero_pad_ = 6 |
|
private |
The documentation for this class was generated from the following file: