Skip to content

add notebook comparing SLSim lenses to SLACS Dinos and SLED lenses#353

Open
mia-lamontagne wants to merge 2 commits intoLSST-strong-lensing:mainfrom
mia-lamontagne:SLSim_vs_SLED
Open

add notebook comparing SLSim lenses to SLACS Dinos and SLED lenses#353
mia-lamontagne wants to merge 2 commits intoLSST-strong-lensing:mainfrom
mia-lamontagne:SLSim_vs_SLED

Conversation

@mia-lamontagne
Copy link
Contributor

This notebook compares various parameters of simulated SLSim lenses with both real SLACS Dinos lenses and SLED lenses. These comparisons are then visualized in corner plots for analysis.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@review-notebook-app
Copy link

review-notebook-app bot commented Aug 7, 2025

View / edit / reply to this conversation on ReviewNB

sibirrer commented on 2025-08-07T18:13:19Z
----------------------------------------------------------------

can you refer to the Dinos papers and the SLED website?


@review-notebook-app
Copy link

review-notebook-app bot commented Aug 7, 2025

View / edit / reply to this conversation on ReviewNB

sibirrer commented on 2025-08-07T18:13:19Z
----------------------------------------------------------------

can you comment from where this file was retrieved?


@review-notebook-app
Copy link

review-notebook-app bot commented Aug 7, 2025

View / edit / reply to this conversation on ReviewNB

sibirrer commented on 2025-08-07T18:13:20Z
----------------------------------------------------------------

Line #1.    slacs_data = pd.read_csv("dinos1_lens_data.csv")

is this column duplicated?


@review-notebook-app
Copy link

review-notebook-app bot commented Aug 7, 2025

View / edit / reply to this conversation on ReviewNB

sibirrer commented on 2025-08-07T18:13:21Z
----------------------------------------------------------------

can you make a title similar to the plot at the end?


@review-notebook-app
Copy link

review-notebook-app bot commented Aug 7, 2025

View / edit / reply to this conversation on ReviewNB

sibirrer commented on 2025-08-07T18:13:21Z
----------------------------------------------------------------

Line #4.    light_df = pd.read_csv("SLACS_light_params.csv")

can you comment from where this file can be retrieved?


@review-notebook-app
Copy link

review-notebook-app bot commented Aug 7, 2025

View / edit / reply to this conversation on ReviewNB

sibirrer commented on 2025-08-07T18:13:22Z
----------------------------------------------------------------

Line #1.    def compute_ab_mag_from_row(row, photflam, photzpt, photplam):

can you make a better definition documentation?


@review-notebook-app
Copy link

review-notebook-app bot commented Aug 7, 2025

View / edit / reply to this conversation on ReviewNB

sibirrer commented on 2025-08-07T18:13:23Z
----------------------------------------------------------------

Line #3.    slacs_data = pd.read_csv("dinos1_lens_data.csv")

is this a duplicate import?


@sibirrer
Copy link
Contributor

sibirrer commented Aug 7, 2025

@mia-lamontagne pre-commit CI is complaining about some stylistic aspects of your notebook: https://results.pre-commit.ci/run/github/454145089/1754589068.uFYR7i2YQ4uRhLHXD56QWA

@codecov
Copy link

codecov bot commented Aug 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.27%. Comparing base (2ab9a2a) to head (8644787).
⚠️ Report is 191 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #353      +/-   ##
==========================================
+ Coverage   97.93%   98.27%   +0.33%     
==========================================
  Files         154       98      -56     
  Lines       10479     6420    -4059     
==========================================
- Hits        10263     6309    -3954     
+ Misses        216      111     -105     

see 139 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nkhadka21
Copy link
Collaborator

Hi @mia-lamontagne , thank you very much for this PR! The notebook looks very good. Pre-commit is failing. Would be great if you could fix them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants