Name output file the same way as the input one
This commit is contained in:
parent
8c9dfc2e41
commit
fb58d78fed
@ -1,7 +1,10 @@
|
||||
import numpy as np
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
npArray = np.load('mean_rafael_arw_png_sky_wavelet.npy')
|
||||
fileName = 'mean_flat-field_nef_wavelet_blue'
|
||||
npArray = np.load(f'{fileName}.npy')
|
||||
npArrayMin = npArray.min()
|
||||
print(f'{npArrayMin=}')
|
||||
plt.imsave('np_array.png', npArray - npArrayMin)
|
||||
plt.imsave(f'{fileName}.png', npArray - npArrayMin)
|
||||
#plt.imshow(npArray - npArrayMin)
|
||||
#plt.show()
|
Loading…
Reference in New Issue
Block a user