isochrones/starmodel_old.py
def mnest_prior(self, cube, ndim, nparams):
        """
        Transforms unit cube into parameter cube.

        Parameters if running multinest must be mass, age, feh, distance, AV.
        """
        cube[0] = (self.ic.maxmass - self.ic.minmass)*cube[0] + self.ic.minmass
        cube[1] = (self.ic.maxage - self.ic.minage)*cube[1] + self.ic.minage
        cube[2] = (self.ic.maxfeh - self.ic.minfeh)*cube[2] + self.ic.minfeh
        cube[3] = cube[3]*self.max_distance
        cube[4] = cube[4]*self.maxAV

        Transforms unit cube into parameter cube.

        Parameters if running multinest must be mass, age, feh, distance, AV.
        
Transforms unit cube into parameter cube.
Parameters if running multinest must be mass, age, feh, distance, AV.
Transforms unit cube into parameter cube . Parameters if running multinest must be mass age feh distance AV .
def mnest_prior(self, cube, ndim, nparams):
        cube[0] = (self.ic.maxmass - self.ic.minmass)*cube[0] + self.ic.minmass
        cube[1] = (self.ic.maxage - self.ic.minage)*cube[1] + self.ic.minage
        cube[2] = (self.ic.maxfeh - self.ic.minfeh)*cube[2] + self.ic.minfeh
        cube[3] = cube[3]*self.max_distance
        cube[4] = cube[4]*self.maxAV
def mnest_prior ( self , cube , ndim , nparams ) : cube [ 0 ] = ( self . ic . maxmass - self . ic . minmass ) * cube [ 0 ] + self . ic . minmass cube [ 1 ] = ( self . ic . maxage - self . ic . minage ) * cube [ 1 ] + self . ic . minage cube [ 2 ] = ( self . ic . maxfeh - self . ic . minfeh ) * cube [ 2 ] + self . ic . minfeh cube [ 3 ] = cube [ 3 ] * self . max_distance cube [ 4 ] = cube [ 4 ] * self . maxAV
Transforms unit cube into parameter cube.
Transforms unit cube into parameter cube .
"""
        Transforms unit cube into parameter cube.

        Parameters if running multinest must be mass, age, feh, distance, AV.
        """
self
cube
ndim
nparams