read.cosmosis.grid: Read a CosmoSIS grid sampler output file.

View source: R/data_input.R

read.cosmosis.gridR Documentation

Read a CosmoSIS grid sampler output file.

Description

Reads a file in CosmoSIS grid sampler output format and returns a list describing the data.

Usage

read.cosmosis.grid(fname)

Arguments

fname

The name of the CosmoSIS MCMC sampler output file to be read.

Value

A list of n+1 components, where n is the number of coordinate axes comprising the grid.

x, y

The x and y coordinates of the grid points, vectors of length m and n.

z

An m by n matrix of log-likelihoods.


marcpaterno/rcosmosis documentation built on June 5, 2023, 6:43 p.m.