MCPcopy Create free account
hub / github.com/Image-Py/imagepy / get_updown

Method get_updown

imagepy/core/wraper/imageplus.py:54–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 else: self.range = self.get_updown()
53
54 def get_updown(self):
55 arr = np.array(([(i.min(),i.max()) for i in self.imgs]))
56 print('range', arr[:,0].min(), arr[:,1].max())
57 return arr[:,0].min(), arr[:,1].max()
58
59 def get_imgtype(self):return self.imgtype
60

Callers 8

set_imgsMethod · 0.95
on_minmaxMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected