#59: Save rmss for futher investigations

For instance to plot a fair comparison, see [issues/59#issuecomment-1732](#59 (comment)).
This commit is contained in:
Benjamin Loison
2024-04-30 01:04:33 +02:00
parent 5647ab4019
commit 671a692114
3 changed files with 7 additions and 6 deletions

View File

@@ -119,4 +119,8 @@ def mergeSingleColorChannelImagesAccordingToBayerFilter(singleColorChannelImages
newX, newY = [getNewIndex(index, offset) for index, offset in [(x, offsetX), (y, offsetY)]]
multipleColorsImage[newX, newY] = pixel
return multipleColorsImage
return multipleColorsImage
def saveNpArray(fileName, npArray):
with open(f'{fileName}.npy', 'wb') as f:
np.save(f, npArray)