GithubHelp home page GithubHelp logo

3dfast's People

Contributors

tdk111 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

3dfast's Issues

z_min and z_max in outputs do not match set values

In the smk_transform_data_v1.c file, redshift values (zmin, zmax, npz, zpzdz) for the catalog are manually input in lines 174-178. However, the zmin and zmax values are reset to 99999 and -99999 respectively in lines 525 and 526. They are then recalculated from the redshift array, which holds the original bin value with the highest redshift probability for each galaxy. These new zmin and zmax values are then used to make the fine r-grid and calculate n(z) binned in redshifts (lines 545-615).

For the catalog that I am working with, we have 500 redshift bins equally spaced between 0.01 and 5.0, but we are only including galaxies with a maximum probability redshift > 0.3. When I run this catalog through the 3dfast code, the output tells me that there are 500 bins equally spaced between 0.3 and 4.9. If these are indeed the bins being used in calculations, then probability information from the catalog is being assigned to the wrong redshifts.

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.