MCPcopy Create free account
hub / github.com/RolnickLab/climart / inverse_normalize

Method inverse_normalize

climart/data_transform/normalization.py:127–129  ·  view source on GitHub ↗
(self, normalized_data)

Source from the content-addressed store, hash-verified

125 return normalized_data
126
127 def inverse_normalize(self, normalized_data):
128 data = np.exp(normalized_data)
129 return data
130
131 def __call__(self, data: np.ndarray, *args, **kwargs):
132 return np.log(data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected