Skip to content
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

issue/627/testskypixelcoords: New notebook to test coordinate system effects with instructions to use example data #629

Merged
merged 61 commits into from
Jul 19, 2024

Conversation

ts485
Copy link
Collaborator

@ts485 ts485 commented Jul 16, 2024

No description provided.

@ts485 ts485 linked an issue Jul 16, 2024 that may be closed by this pull request
5 tasks
@coveralls
Copy link

coveralls commented Jul 16, 2024

Coverage Status

Changes unknown
when pulling c87d95a on issue/627/testskypixelcoords
into ** on main**.

ts485 and others added 20 commits July 16, 2024 19:10
…eed to incorporate Caio's added functionality for sky vs. pixel coordinates in CLMM
…lation of HSCY3 cluster without CLMM, but need to change colossus dependency because it is not easy to install on NERSC
…y dependency in notebook to the astropy one so this is easier to run on NERSC
…re-installing latest CLMM with Caio's added coordinate_system kwargs
… in _compute_lensing_angles_flatsky and updated tests
… systems in _compute_lensing_angles_flatsky and updated tests"

This reverts commit 4a1faa6.
@cavestruz cavestruz requested a review from caioolivv July 18, 2024 14:15
@caioolivv
Copy link
Collaborator

Hi @cavestruz, for some reason the latest version of this branch doesn't have the current version of the coordinate_system option from main. I couldn't find which commit is at fault, but could you merge main again?

Copy link
Collaborator

@caioolivv caioolivv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove outputs from notebook

@caioolivv caioolivv self-requested a review July 18, 2024 16:01
examples/demo_coordinate_system_datasets.ipynb Outdated Show resolved Hide resolved
examples/demo_coordinate_system_datasets.ipynb Outdated Show resolved Hide resolved
examples/demo_coordinate_system_datasets.ipynb Outdated Show resolved Hide resolved
examples/demo_coordinate_system_datasets.ipynb Outdated Show resolved Hide resolved
examples/demo_coordinate_system_datasets.ipynb Outdated Show resolved Hide resolved
examples/demo_coordinate_system_datasets.ipynb Outdated Show resolved Hide resolved
examples/demo_coordinate_system_datasets.ipynb Outdated Show resolved Hide resolved
examples/demo_coordinate_system_datasets.ipynb Outdated Show resolved Hide resolved
examples/demo_mock_cluster.ipynb Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the extra cells were added again 😢

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, outdated version

examples/demo_coordinate_system_datasets.ipynb Outdated Show resolved Hide resolved
examples/demo_coordinate_system_datasets.ipynb Outdated Show resolved Hide resolved
"ax.grid(which=\"minor\", lw=0.1)\n",
"plt.legend(fontsize=20)\n",
"plt.show()\n",
"plt.savefig('clmm_hsc_cluster.png')\n"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we shouldn't save the figure.

Copy link
Collaborator

@cavestruz cavestruz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great - thank you for making these modifications with the black formatter.

@cavestruz cavestruz merged commit 2d5aa5b into main Jul 19, 2024
2 checks passed
@cavestruz cavestruz deleted the issue/627/testskypixelcoords branch July 19, 2024 12:15
m-aguena pushed a commit that referenced this pull request Aug 5, 2024
…effects with instructions to use example data (#629)

* new notebook to test coordinate systems and shear measurements

* editing README for the data availability

* Added option to choose coordinate system for generated mock catalog

* Added ellipticity coordinate system conversion tests to test_galaxycluster.py and test_mockdata.py

* Added documentation to other test cases in Tomomi's notebook.  Still need to incorporate Caio's added functionality for sky vs. pixel coordinates in CLMM

* starting to work through and document example of lensing signal calculation of HSCY3 cluster without CLMM, but need to change colossus dependency because it is not easy to install on NERSC

* added kwargs to GalaxyCluster instance definition in preparation for re-installing latest CLMM with Caio's added coordinate_system kwargs

* test_coordinate.ipynb now runs from top to bottom using Caio's coordinate system implementation!

* modified the Oguri example to also show incorrect coordinate assumption as noted by Caio

* added a note for the CosmoDC2 clusters so the user is aware to not necessarily expect a strong signal in center regions

* clarified why there might be less signal in the TXPipe outputted CosmoDC2 thing

---------

Co-authored-by: Caio Lima de Oliveira <[email protected]>
Co-authored-by: Camille Avestruz <[email protected]>
Co-authored-by: Marina Ricci <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests of sky vs. pixel coordinate effects on different example datasets
4 participants