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/591/triaxiality: Build scripts in examples/triaxiality #603

Open
wants to merge 86 commits into
base: main
Choose a base branch
from

Commits on Jul 18, 2023

  1. Configuration menu
    Copy the full SHA
    dd3fd10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    656b37b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    740bae1 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2023

  1. test notebook plotting delta sigma vs radius

    ... using equations 31-38 from Tae-hyeon's paper (https://academic.oup.com/mnras/article/475/2/2421/4788804)
    akumgill committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    5d279b6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0a70528 View commit details
    Browse the repository at this point in the history
  3. updating notebook with gamma sign and cos term sign

    ... also adding const plots
    akumgill committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    b38d2c6 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    akumgill committed Jul 19, 2023
    Configuration menu
    Copy the full SHA
    f1d118f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b31613 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2023

  1. Configuration menu
    Copy the full SHA
    a8c2e32 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    rancesol committed Jul 20, 2023
    Configuration menu
    Copy the full SHA
    167f3c3 View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2023

  1. Comparison of two implementations

    Comparison of Tae's and Adhikari's implementations of quadrupole and monopole components
    rkrishnan2912 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    7e5999d View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2023

  1. adding fitting files

    rancesol committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    ae56e5f View commit details
    Browse the repository at this point in the history
  2. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    rancesol committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    5461145 View commit details
    Browse the repository at this point in the history
  3. update fitting notebook

    rancesol committed Jul 22, 2023
    Configuration menu
    Copy the full SHA
    0a020c5 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2023

  1. Configuration menu
    Copy the full SHA
    e742f2a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e517e13 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Configuration menu
    Copy the full SHA
    0ee57e9 View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. MCMC fitting for elliptical lens model

    Includes fitting for orientation of halo and ellipticity simultaneously.
    rkrishnan2912 committed Aug 25, 2023
    Configuration menu
    Copy the full SHA
    f2da93b View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Configuration menu
    Copy the full SHA
    5fdf268 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Added triaxiality theory functions in func_layer.py

    Radhakrishnan Srinivasan committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    54f0299 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    Radhakrishnan Srinivasan committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    6647498 View commit details
    Browse the repository at this point in the history
  3. some changes to initialize triaxiality functions

    Radhakrishnan Srinivasan committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    da083fc View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into issue/591/triaxiality

    Radhakrishnan Srinivasan committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    3b0b7c3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7fc4d2d View commit details
    Browse the repository at this point in the history
  6. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    
    Update triaxiality code.
    rancesol committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    8e7865f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c8f1d61 View commit details
    Browse the repository at this point in the history
  8. fixed conflicts

    tae-h-shin committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    04951c8 View commit details
    Browse the repository at this point in the history
  9. documentation updated

    Radhakrishnan Srinivasan committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    a453bf7 View commit details
    Browse the repository at this point in the history
  10. add triaxial functions

    rancesol committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    a40ff56 View commit details
    Browse the repository at this point in the history
  11. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    
    Update data_ops
    rancesol committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    c47ea78 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. typo correction

    rancesol committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    9134c90 View commit details
    Browse the repository at this point in the history
  2. Minor comments and cosmetic changres

    Radhakrishnan Srinivasan committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    3dd3d64 View commit details
    Browse the repository at this point in the history
  3. Data operation-functions for triaxiality added to dataops

    Radhakrishnan Srinivasan committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    2f39979 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    46067b8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8cef454 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    tae-h-shin committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    2223c3b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8525ba7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    40358a7 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. Edited a minor typo in code in dataops/__init__.py

    Radhakrishnan Srinivasan committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    ad70d4e View commit details
    Browse the repository at this point in the history
  2. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    Radhakrishnan Srinivasan committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    9ba290a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    28b7016 View commit details
    Browse the repository at this point in the history
  4. Edited a small typo in dataops/__init__.py

    Radhakrishnan Srinivasan committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    2a196f7 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    
    merge in dataops updates
    rancesol committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    3e90071 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    92586b3 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    tae-h-shin committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    e4130d3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    ce51076 View commit details
    Browse the repository at this point in the history
  9. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    tae-h-shin committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    243bf0f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a0e060a View commit details
    Browse the repository at this point in the history
  11. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    
    updating
    rancesol committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    3b12ff1 View commit details
    Browse the repository at this point in the history
  12. Minor addition to doc string in func_layer.py

    Radhakrishnan Srinivasan committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    b722e79 View commit details
    Browse the repository at this point in the history
  13. Reformatting func_layer.py

    Radhakrishnan Srinivasan committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    50ce90b View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e6cbf2f View commit details
    Browse the repository at this point in the history
  15. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    tae-h-shin committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    af3d466 View commit details
    Browse the repository at this point in the history
  16. fixed formating

    rancesol committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    8088606 View commit details
    Browse the repository at this point in the history
  17. add triaxial tests

    rancesol committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    6d18127 View commit details
    Browse the repository at this point in the history
  18. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    
    update
    rancesol committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    87d7547 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    1d4f39f View commit details
    Browse the repository at this point in the history
  20. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    tae-h-shin committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    175e7e6 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    17806f6 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    8a90ad3 View commit details
    Browse the repository at this point in the history
  23. Pylint corrections to func_layer.py and __init__.py

    Radhakrishnan Srinivasan committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    0e97a3b View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    b63aa75 View commit details
    Browse the repository at this point in the history
  25. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    
    update
    rancesol committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    b619780 View commit details
    Browse the repository at this point in the history
  26. pylint is finally happy

    tae-h-shin committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    7090659 View commit details
    Browse the repository at this point in the history
  27. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    tae-h-shin committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    c23cd98 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    rancesol committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    51fd52c View commit details
    Browse the repository at this point in the history
  2. Updates to the interpolation and sampling in func_layer.py theory fun…

    …ctions
    Radhakrishnan Srinivasan committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    ea8cdd5 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'issue/591/triaxiality' of https://github.com/LSSTDESC/CLMM

     into issue/591/triaxiality
    rancesol committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    f0eea39 View commit details
    Browse the repository at this point in the history
  4. issue/627/testskypixelcoords: New notebook to test coordinate system …

    …effects with instructions to use example data (#629)
    
    * feat: Add coordinate_system parameter to compute_tangential_and_cross_components and _compute_lensing_angles functions
    
    * Update documentation to account for new coordinate_system option
    
    * feat: Add coordinate_system conversion test to test_compute_lensing_angles_flatsky function
    
    * Add coordinate_system conversion test to test_compute_lensing_angles_astropy function and fix bug in coordinate system conversion bug in compute_lensing_angles_astropy
    
    * Set coordinate_system option during creation of GalaxyCluster object
    
    * adding a new notebook and data
    
    * test
    
    * new notebook to test coordinate systems and shear measurements
    
    * Removed debuggin print in test_dataops.py
    
    * editing README for the data availability
    
    * moved tomomi's notebook to examples
    
    * added prelude to Tomomi's notebook
    
    * Fixed typo and set default coordinate_system to "pixel"
    
    * 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
    
    * Fixed formatting
    
    * 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
    
    * Finished baseline documentation, including changing colossus cosmology dependency in notebook to the astropy one so this is easier to run on NERSC
    
    * minor change to clarify sections of notebook
    
    * added kwargs to GalaxyCluster instance definition in preparation for re-installing latest CLMM with Caio's added coordinate_system kwargs
    
    * Updated logic for lensing angle conversion between coordinate systems in _compute_lensing_angles_flatsky and updated tests
    
    * Revert "Updated logic for lensing angle conversion between coordinate systems in _compute_lensing_angles_flatsky and updated tests"
    
    This reverts commit 4a1faa6.
    
    * Added coordinate_system validation and extra tests
    
    * Changed example notebook to document new coordinate_system option
    
    * examples/test_coordinate.ipynb has additional minor markdown detail
    
    * test_coordinate.ipynb now runs from top to bottom using Caio's coordinate system implementation!
    
    * adding additional docstrings to Tomomi's from-scratch calculation of lensing from HSC data
    
    * refactoring code into functions to make loop over cluster lenses  more readable and some renaming of variables, e.g. sum to profile_sum, to avoid name space problems
    
    * made additional refactoring changes, but refactored functions to calculate angles between source and lens, etc. likely broke something in the background selection (now empty)
    
    * some of the refactoring incorporated with pre-broken code
    
    * cleaned up the loop over rbins
    
    * In line comments for portions of calculation
    
    * modified reverted commit to when the functions did not break, added in documentation and light refactoring from latest commit
    
    * renamed the notebook for consistency
    
    * docs/doc-config.ini now includes the demo_coordinate_system notebook
    
    * feat: Add coordinate_system parameter to compute_tangential_and_cross_components and _compute_lensing_angles functions (#624)
    
    * feat: Add coordinate_system parameter to compute_tangential_and_cross_components and _compute_lensing_angles functions
    
    * Update documentation to account for new coordinate_system option
    
    * feat: Add coordinate_system conversion test to test_compute_lensing_angles_flatsky function
    
    * Add coordinate_system conversion test to test_compute_lensing_angles_astropy function and fix bug in coordinate system conversion bug in compute_lensing_angles_astropy
    
    * Set coordinate_system option during creation of GalaxyCluster object
    
    * Removed debuggin print in test_dataops.py
    
    * Fixed typo and set default coordinate_system to "pixel"
    
    * Added option to choose coordinate system for generated mock catalog
    
    * Added ellipticity coordinate system conversion tests to test_galaxycluster.py and test_mockdata.py
    
    * Fixed formatting
    
    * Updated logic for lensing angle conversion between coordinate systems in _compute_lensing_angles_flatsky and updated tests
    
    * Revert "Updated logic for lensing angle conversion between coordinate systems in _compute_lensing_angles_flatsky and updated tests"
    
    This reverts commit 4a1faa6.
    
    * Added coordinate_system validation and extra tests
    
    * Changed example notebook to document new coordinate_system option
    
    * Fixed all the documentation for coordinate_system and changed names from 'pixel'/'sky' to 'euclidean'/'celestial'
    
    * Added reference for defitions of coordinate systems
    
    * Fixed bug in coordinate system conversion in mock data generation
    
    * Test ValueError raise for coordinate_system in test_mockdata.py
    
    * Added more explanations about ellipticity coordinate system
    
    * Fixed typo
    
    * uodated tag to 1.12.4
    
    ---------
    
    Co-authored-by: Marina Ricci <[email protected]>
    
    * removed a character in a markdown cell that tests complained about in making docs
    
    * swapped pixel/euclidean and sky/celestial in notebook
    
    * reverted two files to try to match main
    
    * removed outputs in the notebook
    
    * removed OTHER notebook outputs
    
    * remove empty cells in notebooks
    
    * made minor edits in response to review, primarily with generalizing file paths and removing comments or redundant text in the markdown
    
    * incorporating original demo_mock_cluster.ipynb from main to remove changes to the file in this branch that should not have been committed
    
    * modified the Oguri example to also show incorrect coordinate assumption as noted by Caio
    
    * got rid of dollar signs inside markdown code snippet env hoping this will get the checks passed
    
    * added review contributions line :-)
    
    * added a note for the CosmoDC2 clusters so the user is aware to not necessarily expect a strong signal in center regions
    
    * removed extra cell at end
    
    * removed rogue savefig
    
    * clarified why there might be less signal in the TXPipe outputted CosmoDC2 thing
    
    * Formatted demo_coordinate_system_datasets.ipynb notebook
    
    ---------
    
    Co-authored-by: Caio Lima de Oliveira <[email protected]>
    Co-authored-by: Camille Avestruz <[email protected]>
    Co-authored-by: Marina Ricci <[email protected]>
    4 people committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    2d5aa5b View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    3082315 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    425a3e8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5d0f007 View commit details
    Browse the repository at this point in the history
  4. ran black on files

    rancesol committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    b346a88 View commit details
    Browse the repository at this point in the history
  5. removed unused function

    rancesol committed Jul 23, 2024
    Configuration menu
    Copy the full SHA
    c4f4290 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    23bd956 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2024

  1. finished test_dataops.py

    tae-h-shin committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    424ced9 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    530496f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d873f8 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    704faae View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    a638d6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8cfea7c View commit details
    Browse the repository at this point in the history
  3. minor edit

    rancesol committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    f0212ec View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    30e824d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c11e6fe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e55877f View commit details
    Browse the repository at this point in the history
  7. minor formating edit

    rancesol committed Jul 30, 2024
    Configuration menu
    Copy the full SHA
    94b751e View commit details
    Browse the repository at this point in the history