MCPcopy Create free account
hub / github.com/dek924/PerX2CT / array2string

Function array2string

data_preprocessing/2_xraypro.py:33–37  ·  view source on GitHub ↗
(ndarray)

Source from the content-addressed store, hash-verified

31
32# convert a ndarray to string
33def array2string(ndarray):
34 ret = ""
35 for i in ndarray:
36 ret = ret + str(i) + " "
37 return ret[:-2]
38
39# save a .pfm file as a .png file
40def savepng(filename, direction):

Callers 1

make_inputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected