Description Usage Arguments Author(s) See Also Examples
This function generates n mock galaxies with masses and observing errors, drawn from a custom Schechter function and predefined effective volume function. It then uses dffit
to recover the inpu Schechter function from the noisy data.
1 | dfexample(case = 1, seed = 1)
|
case |
is an integer from 1 to 4, specifying the example. Choose 1 for an example of fitting a Schechter function mock data drawn from a Schechter function. Choose 2 to fit a Schechter function to mock data drawn from a Schechter function in the presence of large-scale structure. Choose 3 to fit a quasi non-parametric mass function to mock data drawn from a modified Scheckter function. Choose 4 to fit a 2D analytic distribution function to mock data in the the mass-specific angular momentum plane. |
seed |
A positive integer used as seed for the random number generator. |
Danail Obreschkow
See dffit
.
1 2 | # Run basic example
dfexample(1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.