discopat.basics

Functions

gs_to_rgb(array[, channel_mode])

to_01(array[, eps])

to_int(array)

discopat.basics.gs_to_rgb(array, channel_mode='channels_last')[source]
Parameters:
  • array (ndarray)

  • channel_mode (str)

Return type:

ndarray

discopat.basics.to_01(array, eps=1e-10)[source]
Parameters:
  • array (ndarray)

  • eps (float)

Return type:

ndarray

discopat.basics.to_int(array)[source]
Parameters:

array (ndarray)

Return type:

ndarray