Closed kristlv1 closed 1 year ago
I have changed datagen.py to set basesize equal to size. Previously only the latter was changed by the -Z option. Could you check if this solves the problem @kristlv1 ?
FYI basesize is used to set the resolution; the GUI allows you to change both, to get the coarse resolution, even if it is displayed as a large image. I cannot remember exactly how it is done. The CLI does not support such coarse images, and I am not going to change that now.
BTW. THe change is made on develop.
The fix was also present in branch speedup-centring. Problem fixed for now.
Closed issue too quickly, was using the wrong branch. The problem still persist, when using csv file argument or not. -Z argument does not do anything when above 512. If -Z argument is higher, image will be 512x512 pixels. Problem on branch develop and branch speedup-centring.
You are right. There were two calls two setImageSize and I only addressed one. Fixed now; try again please?
Seems to work!
Images created from .csv file can not exceed the size of either basesize or size (or both) in CosmoSim.h.
Images created without .csv file does not produce this problem.