-
Notifications
You must be signed in to change notification settings - Fork 1
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
Example using Numcosmo unbinned likelihood #9
Comments
@pennalima, @vitenti, I've adapted the NC script to run on SkySim data... and it does not work :( In branch
I haven't been able to probably instantiate the mass and redshift in the absence of errors; the syntax So I reverted to using the lognormal and gaussian distributions for mass and redshift respectively. Then the script runs, but the first minimization step using NLOpt gets to lower and lower values of "Omega_c", finally reaching the lower allowed bound. Anyhow, this is were I'm at at the moment... |
Hello @combet , I just pushed a new commit with a working version of the NumCosmo notebook. Please, take a look. |
@vitenti - thank you for fixing this and I saw where I got things wrong (in particular the silly mistake with the amplitude conversion). This now runs fine. I will keep experimenting and maybe move to a larger sky area/catalog to see how this scales. I will also experiment how to launch this through the job scheduler at cc-in2p3. Quick question, will |
@combet - Good news! If you want to try the parallelized version you need to use:
The first call controls the number of threads available to NumCosmo as a whole, and the second the number of threads used in sampling. Please, tell me if it works properly. There is also the MPI version, but for that it's probably easier to call directly from a script and not from a notebook |
Add example notebook using NC unbinned likelihood on SkySim data
The text was updated successfully, but these errors were encountered: