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

Refactor stamp.py #468

Merged
merged 8 commits into from
May 20, 2024
Merged

Refactor stamp.py #468

merged 8 commits into from
May 20, 2024

Commits on May 9, 2024

  1. add .flake8 file

    flake8 was calling out a lot of style issues, turn those off
    esheldon committed May 9, 2024
    Configuration menu
    Copy the full SHA
    18a51da View commit details
    Browse the repository at this point in the history
  2. refactor stamp.py

    Pull out some useful functionality.
    
    Useful stuff for calculating stamp sizes was put into stamp_utils.py
    
        get_stamp_size (was in LSST_SiliconBuilder.__init__)
            get_star_stamp_size
            get_gal_stamp_size
        get_good_phot_stamp_size (was LSST_SiliconBuilder._getGoodPhotImageSize)
        get_good_phot_stamp_size1 (was LSST_SiliconBuilder._getGoodPhotImageSize1)
    
    Useful stuff for psfs was put into psf_utils.py
    
        make_double_gaussian (was LSST_SiliconBuilder.DoubleGaussian)
        make_kolmogorov_and_gaussian_psf was (LSST_SiliconBuilder.Kolmogorov_and_Gaussian_PSF)
        make_fft_psf (was LSST_SiliconBuilder.make_fft_psf)
    esheldon committed May 9, 2024
    Configuration menu
    Copy the full SHA
    3f6aa97 View commit details
    Browse the repository at this point in the history
  3. remove commented code

    esheldon committed May 9, 2024
    Configuration menu
    Copy the full SHA
    e4ba964 View commit details
    Browse the repository at this point in the history
  4. BUG airmass/rawSeeing/band might not be present

    Make optional
    esheldon committed May 9, 2024
    Configuration menu
    Copy the full SHA
    4f15cac View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    095a561 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6019077 View commit details
    Browse the repository at this point in the history

Commits on May 10, 2024

  1. remove commented code

    esheldon committed May 10, 2024
    Configuration menu
    Copy the full SHA
    69bea8a View commit details
    Browse the repository at this point in the history
  2. fix doc

    esheldon committed May 10, 2024
    Configuration menu
    Copy the full SHA
    437c3a2 View commit details
    Browse the repository at this point in the history