-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved cosmopower default parameters to yaml files. (#106)
* Moved cosmopower default settings to yaml. * Removed tmp test files. * Removed tmp test files. * Added comments.
- Loading branch information
Showing
3 changed files
with
48 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
stop_at_error: False | ||
|
||
# A path to the directory where cosmopower networks are stored (can be either relative or absolute). | ||
network_path: soliket/data/CosmoPower/CP_paper/CMB | ||
|
||
# A dictionary of all networks and their settings. | ||
network_settings: | ||
|
||
# Optional extra arguments for the theory code. | ||
extra_args: | ||
# An lmax cut for all networks. | ||
lmax: null | ||
|
||
# A dictionary to rename parameters. | ||
# (e.g. if you are sampling on "ombh2" but your network takes "omega_b" as an input, | ||
# the line "ombh2: omega_b" will translate that parameter for you.) | ||
renames: | ||
ombh2: omega_b | ||
omch2: omega_cdm | ||
logA: ln10^{10}A_s | ||
ns: n_s | ||
tau: tau_reio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
stop_at_error: False | ||
|
||
# A path to the directory where cosmopower networks are stored (can be either relative or absolute). | ||
network_path: soliket/data/CosmoPower/CP_paper/CMB | ||
|
||
# A dictionary of settings for this network. | ||
network_settings: | ||
type: NN # Either NN or PCAplusNN, depending on the network type | ||
log: false # Set this to true if this network calculates log(X) for all parameters X. | ||
|
||
# Optional extra arguments for the theory code. | ||
extra_args: | ||
# (Currently, no extra arguments exist yet for the derived network). | ||
|
||
# A list of all names for the derived parameters of this network. | ||
derived_parameters: [] | ||
|
||
# A dictionary to rename parameters. | ||
# (e.g. if you are sampling on "ombh2" but your network takes "omega_b" as an input, | ||
# the line "ombh2: omega_b" will translate that parameter for you.) | ||
renames: | ||
ombh2: omega_b | ||
omch2: omega_cdm | ||
logA: ln10^{10}A_s | ||
ns: n_s | ||
tau: tau_reio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters