GithubHelp home page GithubHelp logo

liweitianux / fg21sim Goto Github PK

View Code? Open in Web Editor NEW
15.0 6.0 9.0 1.91 MB

๐Ÿ“ก Foregrounds Simulation for EoR 21 cm Signal Detection ๐Ÿ“ก

License: Other

Makefile 0.18% Python 78.46% CSS 4.70% JavaScript 10.02% HTML 6.63%
21cm-signal radio-astronomy foreground simulation galaxy-cluster radio-halo

fg21sim's People

Contributors

liweitianux avatar myinxd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

fg21sim's Issues

git lsf pull error

Hi,
I'm trying to download the template data, and git lsf pull gives me:

batch response: This repository is over its data quota. Account responsible for LFS bandwidth should purchase more data packs to restore access. Failed to fetch some objects from 'https://github.com/liweitianux/fg21sim.git/info/lfs'

I'm wondering if there is any other way to get the template data? I also tried the data manifest but an error message was returned:

ValueError: Downloaded file has wrong size

Many thanks!

git lfs pull error

Hi,
I used git lsf pull to download the template data, but also the problem that Mr. Chen encountered.
And I opened it on gitee and found an error Not Found.
What I want to ask you is there any other way to download this data?
Thanks, please.

Error generating FITS using asymmetric lightcone box

Hi,
I am trying to convert a HI signal binary into FITS using 21cmfast_lightcone.py. Since the cube is asymmetric (dimension [232,232,339]), the 3rd axis being the LoS axis. I added an extra line self.Dc_z = cosmo.comoving_distance(zmax).value - cosmo.comoving_distance(zmin).value and
def dDc_z(self): return self.Dc_z /self.cube.shape[2].
I have also modified w.wcs.cdelt as w.wcs.cdelt = np.array([self.Dc_cell, self.Dc_cell, self.dDc_z]). Now after finding the cube, when I'm trying to get slices using get_slice_zfreq.py, I am getting the redshifts till 9.944. However, this is followed by the following error :
Traceback (most recent call last): File "get_slice_zfreq.py", line 144, in <module> main() File "get_slice_zfreq.py", line 139, in main data = lightcone.get_slice(z) File "get_slice_zfreq.py", line 68, in get_slice raise ValueError("requested redshift out of range: %.2f" % z) ValueError: requested redshift out of range: 9.96
I am passing the z values for this code from a text file z.list using -z $(cat z.txt). Can you let me know why such an error is arising?

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.