Comments (8)
Which part of the yaml file should be protected and almost never changed?
I'm guessing this is the universal constants?
When we decide that, we can hide those constants somewhere.
from deepszsim.
here's the yaml
https://github.com/deepskies/SimSZ/blob/dev-pipeline/SimSZ/settings/config.yaml
from deepszsim.
For most universal constants we are using built-in ones from astropy etc., it looks like right now it's just T_CMB in the .yaml and I don't think there's motivation to hide this (what if someone wants to toggle it?)
from deepszsim.
the base_config.yaml has the constants we might want to hide. They were explicitly defined in config.yaml, so I wasn't sure if they should be kept or assumed.
from deepszsim.
https://github.com/deepskies/SimSZ/blob/dev-pipeline/SimSZ/settings/base_config.yaml
from deepszsim.
We needed the base_config.yaml in DeepCMBSim, because CAMB requires a bunch of parameter choices that we don't want users to have to make.
We may not need that here. I'm not sure.
from deepszsim.
I'm not familiar with the code on dev-pipeline as I've only been working on dev-massdist (other branches are stale) and I don't have a base_config.yaml I've been working with, I'm using astropy for fundamental constants (has unit capabilities) and not defining them in a yaml
from deepszsim.
I will close this.
When we define the input yaml config, we should take care to note if there are any parameters that should be defined, but that we don't want the user to have to mess with.
from deepszsim.
Related Issues (20)
- create a plotting tool function HOT 1
- Change load_vars() to create a dictionary for input.yaml HOT 1
- Create .github/workflows folder for JOSS paper HOT 1
- fix errors in test files due to merge conflicts HOT 1
- test coverage HOT 6
- document make_dm_halo and simsz_run_simulation
- Check and simplify profile generation integral
- clean up unnecessary functions/lines HOT 4
- make new notebook for simulation tutorial only
- Write new test for values of compton-y/temperature
- streamline `make_sz_cluster` HOT 2
- create more tests for full coverage
- The LogNorm workaround in visualization.py plot_graphs() reverses sign of array HOT 1
- how to avoid the divide by zero problem in `_make_y_submap` from `make_sz_cluster`
- Colossus dependency in dm_halo_dist.py HOT 4
- Seed in config.yaml HOT 1
- changing critical density definitions
- fix aperture photometry function
- deprecate python for pixell HOT 1
- move paper to JOSS format within the repository HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepszsim.