minimally invasive approach

This commit is contained in:
Eleni 2022-12-09 16:17:48 +01:00
parent a35e997ec8
commit e3ce2fbc41
3 changed files with 5 additions and 37 deletions

View file

@ -43,6 +43,7 @@ cdef extern from "cosmopower.hpp" namespace "CosmoTool":
CosmoPower()
void setFunction(CosmoFunction)
void setFunction_BAO(CosmoFunction,double,double,double)
void updateCosmology()
void updatePhysicalCosmology()
void normalize(double,double)
@ -101,8 +102,7 @@ cdef class CosmologyPower:
"""
self.power.SIGMA8 = s8
self.power.normalize(k_min, k_max)
def setFunction(self,funcname):
"""setFunction(self, funcname)