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

Simplify imports for most used classes #34

Open
aymgal opened this issue Jul 30, 2024 · 0 comments
Open

Simplify imports for most used classes #34

aymgal opened this issue Jul 30, 2024 · 0 comments
Assignees

Comments

@aymgal
Copy link
Member

aymgal commented Jul 30, 2024

Concrete example:

from herculens.MassModel.mass_model import MassModel
from herculens.MassModel.Profiles.epl import EPL
from herculens.MassModel.Profiles.shear import Shear
...
mass_model = MassModel([EPL(), Shear()])

would become

import herculens as hcl
...
mass_model = hcl.MassModel([hcl.EPL(), hcl.Shear()])
@aymgal aymgal changed the title Simplifiy imports for most used classes Simplify imports for most used classes Jul 30, 2024
@aymgal aymgal self-assigned this Jul 30, 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

No branches or pull requests

1 participant