des-like.yml?

30 views
Skip to first unread message

Remi Cabanac

unread,
Apr 2, 2021, 10:07:42 AM4/2/21
to lenstronomy
Hi Simon, I'm digging into the wonderful sets of notebooks in lenstronomy_extension with a student, and I get a series of errors regarding des-like.yml in

It seems that some skypy functions are not found (sky.galaxy not found).

Any idea how to solve that?

Thank you,

Remi CabaNac

Simon Birrer

unread,
Apr 2, 2021, 12:02:47 PM4/2/21
to Remi Cabanac, lenst...@googlegroups.com
Dear Remi,

thanks a lot for the praise! I hope lenstronomy is useful for your project!

The notebook using skypy is running with skypy version 0.3. Perhaps you installed the latest Pip version of skypy that lead to incompatibilities. The skypy team is actively developing the ‘galaxies’ module since and the latest pip version does not include the module. However, if you go on the main branch of skypy, you see a wealth of functionality in these regards. The skypy team is also working on a paper detailing the galaxies module. For now, I decided to keep the notebook running with an older version of skypy before updating it.

If you still run into problems or would like to see the notebook upgraded to a later skypy version, please raise an issue on GitHub, then it’s easier and transparent for me to include the skypy developers, if needed.

Feel also free to join the lenstronomy Slack channel for more updates and discussions.

Let me know if you have questions!

Best,
Simon 


--
You received this message because you are subscribed to the Google Groups "lenstronomy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lenstronomy...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/lenstronomy/f1b39f23-79e5-422a-8306-1de4f89af7f1n%40googlegroups.com.

Remi Cabanac

unread,
Apr 2, 2021, 12:23:15 PM4/2/21
to lenstronomy
Thank you Simon for the fast response.  I suspected something like that.  I'll install skypy 0.3 for now.
I'm not actually a big fan of slack but I'll join anyway :-) would you be kind enough to add me to lenstronomy channel.
I'll make sure to raise an issue on GitHub when I have a minute.

Thank you again for your answer. The student project is to do some bench-marking on lenstronomy, Nicolas Tessore Lensed, and James Nightingale PyAutoLens
reconstruction of some simple galaxy-galaxy lenses (bachelor in physics level).

Best regards,

Rémi

Simon Birrer

unread,
Apr 2, 2021, 1:35:30 PM4/2/21
to Remi Cabanac, lenst...@googlegroups.com

Dear Rémi,

I added you on Slack. Please feel free to post there in an open channel (#general, #help-wanted, or #random) for questions, discussions, or also promotion of your students work ;) to continue our discussion (I don’t want to spam this mailing list too frequently :) )

Comparison of different lensing codes is of great interest to me, and I am sure to the community at large. I am sure we can all learn a lot from each others codes, design choices and implementations. Each code was originally developed with a bit a different scope in mind and different tasks may be more suited for one or the other code.

There are obviously many ways one could do such comparisons between different codes (choice of complexity in data, choice of complexity in model, numerical precision, sampling precision, priors on initial guess etc) where the different codes have differences and individual advantages or disadvantages relative to each other, but somewhere one needs to start.

Very happy to help out on the usage of lenstronomy. Also simply having an ‘experience report’ of a junior person without prior knowledge of lensing nor any of the software being used can also help identify specific documentation task and other issues in bringing people ‘up to speed’.

Best, and the discussion to be continued on Slack
Simon


Reply all
Reply to author
Forward
0 new messages