mariuscautun / dtfe Goto Github PK
View Code? Open in Web Editor NEWThe DTFE (Delaunay Triangulation Field Estimator) code for calculating density and velocity fields for astronomical data.
License: GNU General Public License v3.0
The DTFE (Delaunay Triangulation Field Estimator) code for calculating density and velocity fields for astronomical data.
License: GNU General Public License v3.0
Hi Marius,
I'm trying to use DTFE to make the typical 2D density plot showing the large scale structure of a simulation box. My input is a snapshot from the Quijote simulations (1 Gpc/h box). I took an old script that I had used a couple of years ago to run the same thing for an older project, so I only had to change the input dataset:
./DTFE input_dir/gadget.0 output_dir/test -f density_a -g 2000 2000 1 --regionMpc 0. 1000. 0. 1000. 50. 100.
The code seems to read the header just fine:
Reading 16849173 particle data from the input file. These particles are made from the particle species: 0 + 16849173 + 0 + 0 + 0 + 0 .
Allocating memory for: positions... weights... velocity... Done.
but then it crashes right after:
~~~ ERROR ~~~ The integers before and after the particle position data block in the GADGET file 'input_dir/gadget.0' did not match. The GADGET snapshot file is corrupt. The program ended unsucessfully!
I doubt the files are corrupt, as I've tried with different snapshots and I get the same thing. I'm guessing it could be related to the fact that there are 8 Gadget files on the folder, but DTFE seems to only recognize one of them, judging from this message:
Reading GADGET snapshot file '/cosma/home/analyse/epaillas/data/quijote/snapshots/0/gadget.0' which is file 1 of 1 files...
Do you have any guess of what might be the problem here? These are supossed to be Gadget-II files, which are presumably supported by DTFE, right?
Cheers,
As the title suggests, can the DTFE be used to assign baryonic particles (e.g. gas, stars, and black holes) with different masses to a regular grid?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.