GithubHelp home page GithubHelp logo

Comments (8)

bnord avatar bnord commented on June 26, 2024

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.

bnord avatar bnord commented on June 26, 2024

here's the yaml
https://github.com/deepskies/SimSZ/blob/dev-pipeline/SimSZ/settings/config.yaml

from deepszsim.

evavagiakis avatar evavagiakis commented on June 26, 2024

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.

bnord avatar bnord commented on June 26, 2024

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.

bnord avatar bnord commented on June 26, 2024

https://github.com/deepskies/SimSZ/blob/dev-pipeline/SimSZ/settings/base_config.yaml

from deepszsim.

bnord avatar bnord commented on June 26, 2024

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.

evavagiakis avatar evavagiakis commented on June 26, 2024

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.

bnord avatar bnord commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.