Program Listing for File fileio.h#
↰ Return to documentation for file (oti/core/fileio.h)
#ifndef OTI_CORE_FILEIO_H
#define OTI_CORE_FILEIO_H
// ----------------------------------------------------------------------------------------------------
// --------------------------------- LOADNPY FUNCTIONS ---------------------------------------------
// ----------------------------------------------------------------------------------------------------
/**************************************************************************************************/
void loadnpy(char* filename, void** data, uint8_t* ndim, uint64_t* shape);
// ----------------------------------------------------------------------------------------------------
/**************************************************************************************************/
void savenpy(char* filename, uint8_t dtype, void* data, uint64_t shapex, uint64_t shapey);
// ----------------------------------------------------------------------------------------------------
/**************************************************************************************************/
void loadnpy_multtabls( char* strLocation, ord_t order, dhelp_t* p_dH);
// ----------------------------------------------------------------------------------------------------
/**************************************************************************************************/
void loadnpy_ndirs( char* strLocation, ord_t order, dhelp_t* p_dH);
// ----------------------------------------------------------------------------------------------------
/**************************************************************************************************/
void loadnpy_fulldir( char* strLocation, ord_t order, dhelp_t* p_dH);
// ----------------------------------------------------------------------------------------------------
/**************************************************************************************************/
void concat_filename(const char* strLocation, const char* base_name,
ord_t after, ord_t order, char* filename);
// ----------------------------------------------------------------------------------------------------
/**************************************************************************************************/
void print_progressbar(double i, double imax);
// ----------------------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------------------
// --------------------------------- LOADNPY FUNCTIONS ---------------------------------------------
// ----------------------------------------------------------------------------------------------------
#endif