You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extend CLFs to support multiple conditioning variables #14
The current CLF interface assumes a single conditioning variable. We should generalize this so conditional luminosity functions can depend on more than one condition.
For example, instead of only supporting something like:
phi = clf.phi(luminosity, halo_mass)
we should allow models that depend on multiple quantities, such as:
Motivation behind this:
Many realistic CLF models depend on more than one variable, for example halo mass plus redshift, galaxy type, central/satellite component, or environment. Supporting multiple conditioning variables would make the CLF API more flexible and easier to extend.
Desired outcome:
Refactor the CLF interface so models can declare and receive multiple conditioning variables cleanly, without hardcoding a single condition argument throughout the code. Existing single-condition CLF models should continue to work.
Activity
nikosarcevic commentedon Jun 15, 2026
closed with #25