Comments (7)
We now have a cic painting code directly in the utils folder
from dhod.
Hum.... so I guess we already have this: https://github.com/DifferentiableUniverseInitiative/DHOD/blob/master/diffhod/experimental/nn/utils/tools.py
Should we use that or should we use flowpm tools instead?
from dhod.
oh wow, no sorry that's numpy code.
from dhod.
from dhod.
Great :-D
I took a stab at it here, check it out: https://github.com/DifferentiableUniverseInitiative/DHOD/blob/u/EiffL/FlowPM/nb/PowerSpectrum.ipynb
This relies on this update of flowpm to make it nicely TF2 compliant: https://github.com/modichirag/flowpm/pull/43
from dhod.
Prototype is now working over there: https://github.com/DifferentiableUniverseInitiative/DHOD/blob/u/EiffL/FlowPM/nb/PowerSpectrum.ipynb
Not only does it computes a CIC field of a galaxy catalog, but also does the optimization.
I think this is working fine now, and we don't really need any other things than the cic painting tools in FlowPM. So I'm gonna say that this is pretty much done, and is just waiting on modichirag/flowpm#43
from dhod.
I think this is done.... what cic painting function are you using in practice @bhorowitz ?
from dhod.
Related Issues (16)
- RelaxedBernoulli samples not differentiable HOT 5
- Implementation of NFW radial distribution HOT 13
- Adding contributions HOT 7
- Remove heavy TF model from git history HOT 1
- Implement and sample from Zheng2007 HOT 2
- Improve the README
- Add caching to GitHub CI HOT 1
- Proper inference of HOD parameters HOT 1
- Optimize HOD parameters to fit power spectrum HOT 1
- Implement a differentiable correlation function
- Make all sampling functions batch capable HOT 4
- Adding missing contributors HOT 6
- New versions of TFP cause NaN gradients for RelaxedBernoulli near p=0 and p=1 HOT 3
- Set default values for Zheng07 params to halotools values HOT 1
- Why not sampling all the things? HMC sampling of each individual galaxy activation HOT 8
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 dhod.