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

Update requirements.txt #57

Closed
wants to merge 9 commits into from
Closed

Conversation

lobrien6
Copy link

@lobrien6 lobrien6 commented Jun 6, 2024

Changed numpy dependency from >=1.13,<=1.24 to >=1.13,<=1.23 to avoid deprecation of distutils.

@coveralls
Copy link

Coverage Status

coverage: 85.688% (-9.3%) from 94.973%
when pulling 97d2b3f on lobrien6:main
into 5405f4a on swagnercarena:main.

@smericks
Copy link
Collaborator

Why does coverage decrease by 9% when switching the required numpy version? This seems strange @swagnercarena

- z_lens - perturber redshift
"""
# Define the parameters we expect to find for the DG_19 model
required_parameters = ('gamma','theta_E','e1','e2','center_x',
Copy link
Collaborator

Choose a reason for hiding this comment

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

Need to update required parameters. You'll need to feed in new parameters for the SIS model.

lens_class(model).param_names
)
model_kwargs = {}
for param in p_names:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Be careful here. Because you have both a PEMD model and an SIS model, some parameter names are shared between the two models. You might have to re-write this to account for that. (ex: both main PEMD and perturber SIS will reqiure a 'theta_E' in the lenstronomy kwargs list)

@lobrien6 lobrien6 closed this Jul 2, 2024
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