Add debugging
This commit is contained in:
@@ -11,7 +11,7 @@ from utils import isARawImage, Color, getColorChannel, mergeSingleColorChannelIm
|
||||
FOLDERS = {
|
||||
'Rafael 23/04/24': '../rafael/230424',
|
||||
'RAISE flat-field': '../flat-field/nef',
|
||||
'RAISE not flat-field': '../not_flat-field/nef',
|
||||
'RAISE non-flat-field': '../non-flat-field/nef',
|
||||
}
|
||||
|
||||
def getImageMergedColorChannels(filePath):
|
||||
@@ -41,8 +41,8 @@ estimatedPrnus = {folderName: getEstimatedPrnu(folder) for folderName, folder in
|
||||
print(f'{corr(estimatedPrnus["Rafael 23/04/24"], estimatedPrnus["Rafael 23/04/24"])=}')
|
||||
print(f'{corr(estimatedPrnus["Rafael 23/04/24"], estimatedPrnus["RAISE flat-field"])=}')
|
||||
print(f'{corr(estimatedPrnus["RAISE flat-field"], estimatedPrnus["Rafael 23/04/24"])=}')
|
||||
print(f'{corr(estimatedPrnus["Rafael 23/04/24"], estimatedPrnus["RAISE not flat-field"])=}')
|
||||
print(f'{corr(estimatedPrnus["RAISE flat-field"], estimatedPrnus["RAISE not flat-field"])=}')
|
||||
print(f'{corr(estimatedPrnus["Rafael 23/04/24"], estimatedPrnus["RAISE non-flat-field"])=}')
|
||||
print(f'{corr(estimatedPrnus["RAISE flat-field"], estimatedPrnus["RAISE non-flat-field"])=}')
|
||||
|
||||
plt.imshow(estimatedPrnus['RAISE flat-field'])
|
||||
plt.show()
|
Reference in New Issue
Block a user