firecrown.utils#
Some utility functions for patterns common in Firecrown.
Functions
Create a base model from a yaml string. |
|
Convert a base model to a yaml string. |
|
Wrapper for pyccl.angular_cl, with automatic caching. |
|
Compare two arrays, allowing for either or both to be None. |
|
Compare two objects, allowing for either or both to be None. |
|
Return a function object that does 1D spline interpolation. |
|
Save a data vector into a (new) SACC object, copied from sacc_data. |
|
Returns the upper triangular indices for an (n x n) matrix. |
Classes
Protocol for classes that can be serialized to and from YAML. |