Coder Social home page Coder Social logo

Comments (6)

liweitianux avatar liweitianux commented on May 29, 2024

Hi, it seems your downloaded file is incomplete. The data file should be 4GB, so please retry the download to make sure the download is complete ;)

The modification time of the dataset is 2018 Dec; I think the Authors may have updated the dataset after we've used it. But I believe the format of the dataset is the same and my Python script should work.

My colleague is downloading the data file to test the Python script. We'll get the result to you soon.

Regards.

from cdae-eor.

Arnab-half-blood-prince avatar Arnab-half-blood-prince commented on May 29, 2024

It maybe the case. But, I think they changed the simulated files.

I used 21cmFAST version3, the recently released python version, and simulated a lightcone between z=7 to z =11.
And then follow your prescription. It worked. Also, for the lightcone cube, the dimension is different along the z-direction. I gave input for a cube of size 256 grids along each direction for a 1000 MPc scale simulation. The resultant brightness_temp cube is of size [256,256,265].

I guess this is mainly due to lighcone simulation or lightray evolution.
So, when I passed this cube in your 21cmFAST_lighcone.py with the known dimension [256,256,265], it worked.

from cdae-eor.

liweitianux avatar liweitianux commented on May 29, 2024

OK. My colleague has tested the data file and the Python script. The newly downloaded data file is the same as my download years ago and the Python script still works as expected. See the following screenshot:

457987670

Besides, the MD5 checksum of the data file delta_T_v3_no_halos__zstart005.00000_zend009.56801_FLIPBOXES0_1024_1600Mpc_lighttravel
is d1b7d6c854bff9558c45286895be7f7f. So you can further check it.

Regards

from cdae-eor.

Arnab-half-blood-prince avatar Arnab-half-blood-prince commented on May 29, 2024

Hi, it worked for me. Thanks for the help.

Just need one suggestion- Is it possible to simulate a visibility cube in Oskar, by providing an EoR sky cube as a sky model.
Instead of simulating ms files for each lightcone slice and then image it in wsclean, I am thinking if it is possible to combine all the slices of sky signal in a single fits cube and simulating an ms set with similar frequency channels.

Any suggestions?

from cdae-eor.

liweitianux avatar liweitianux commented on May 29, 2024

Hi, glad it worked for you :)

No, OSKAR cannot accept a sky cube, and you need to feed it slice by slice. So I've written another script to help with this:

https://github.com/liweitianux/atoolbox/blob/master/astro/oskar/run_oskar.py

Hope this script helps you.

from cdae-eor.

Arnab-half-blood-prince avatar Arnab-half-blood-prince commented on May 29, 2024

Yes, I know this script. And entire simulation with your tools is done.
I was just curious whether it can be done with a one signal cube using oskar. I checked github page of oskar too. But not much help.
Thanks for the suggestions and help.
I am closing this.

from cdae-eor.

Related Issues (1)

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.