-
Notifications
You must be signed in to change notification settings - Fork 23
Rectangle distortion matrix #528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Sending on NERSC still does not work: out of memory. |
|
Another issue for space is at the fits level: sending this produces an error when fitting |
|
@londumas the multiprocessing error looks like an As for the memory error, if you try a single mp thread you can be sure that the dmat will fit in memory. |
|
@londumas for the fits, it doesn't look like a memory error, it looks like a corrupt .fits file. |
|
|
@ngbusca, sorry. Did the comment in the wrong PR. |
|
@londumas I don't understand why do you need to do that on metal matrix too. I thought that the problem concerned only the dmat and how to model the binning effect in the cf model. |
|
@vserret, thanks for having a look. The metal distortion matrix allows to go from the model of the metal-correlation to the model of the Lya-correlation. If the model of the Lya-correlation is finer, so the model of the metal-correlation has to be. See line picca/py/picca/fitter2/data.py Line 301 in 456b1db
|
|
@londumas did you manage to run it on NERSC ? Did you get the fit results ? |
|
@vserret, Yes I run it in Utah and get very similar results, with and without a rectangle distortion matrix. |
This PR adds the possibility to compute the distortion matrix on a rectangular matrix and the metal matrix on a square matrix finer than the data resolution: fix issue #523.
This is done through the
--coef-binning-modelparameter1by default, i.e. a square: same dimension for model than for data.This PR works and does the job, however we are limited by the memory of individual computers.
It has to be tested on NERSC, but it is possible that we can't use this rectangular matrix for the moment.
It might be fixed in the future version of Python (python/cpython#10305), but I tried on the current most up to date package and it fails.
Sending the following command produces the following error: