Index of /~yfeng1/BlueTides

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[DIR]PIG_027/2018-06-04 17:20 -  
[DIR]PIG_030/2018-06-04 17:20 -  
[DIR]PIG_035/2018-06-04 17:20 -  
[DIR]PIG_037/2018-06-04 17:20 -  
[DIR]PIG_040/2018-06-04 17:20 -  
[DIR]PIG_044/2018-06-04 17:20 -  
[DIR]PIG_048/2018-06-04 17:20 -  
[DIR]PIG_054/2018-06-04 17:20 -  
[DIR]PIG_066/2018-06-04 17:20 -  
[DIR]PIG_086/2018-06-04 17:20 -  
[DIR]PIG_092/2018-06-04 17:16 -  
[DIR]PIG_095/2018-06-04 17:16 -  
[DIR]PIG_105/2018-06-04 17:16 -  
[DIR]PIG_121/2018-06-04 17:16 -  
[DIR]PIG_129/2018-06-04 17:16 -  
[DIR]PIG_136/2018-06-04 17:16 -  
[DIR]PIG_141/2018-06-04 17:16 -  
[DIR]PIG_171/2019-02-06 22:46 -  
[DIR]PIG_208/2019-09-15 20:30 -  
[DIR]PIG_271/2020-03-27 12:30 -  
[DIR]astrodata/2019-07-09 08:34 -  
[DIR]bigfile/2018-06-02 22:01 -  
[DIR]sunset_020/2016-01-22 00:34 -  
[DIR]sunset_040.bak/2016-01-18 12:45 -  
[DIR]sunset_040/2016-01-14 21:04 -  
[DIR]sunset_044/2016-01-14 21:04 -  
[DIR]sunset_048/2016-01-14 21:04 -  
[DIR]sunset_054/2016-01-14 21:04 -  
[DIR]sunset_066/2016-01-14 21:04 -  
[DIR]sunset_086/2016-01-14 21:04 -  
[DIR]sunset_095/2018-06-11 13:46 -  
[DIR]sunset_129/2018-06-11 14:14 -  
[DIR]sunset_136/2018-06-11 14:32 -  
[DIR]sunset_141/2018-06-11 15:32 -  
[DIR]sunset_208/2019-09-13 21:02 -  
[DIR]temporary/2021-05-07 10:11 -  
[   ]filter2015-07-24 15:09 0  
[TXT]add-Header.sh2018-06-04 17:21 112  
[TXT]rsync-sunset2.sh2018-06-11 12:42 228  
[TXT]rsync.sh2015-07-27 12:50 310  
[TXT]rsync2.sh2018-06-04 17:17 342  
[   ]Makefile2015-07-24 17:59 360  
[TXT]summary.txt2015-07-24 17:51 546  
[TXT]summary.py2018-06-02 20:06 1.1K 
[   ]README.rst2018-06-04 17:20 3.2K 
[TXT]cskeeters-rst2html-style.css2015-07-24 16:26 20K 
[TXT]README.html2017-02-09 16:55 33K 
[   ]README.pdf2017-02-09 16:55 97K 

BlueTides

BlueTides

Introduction

These files are the BlueTides Friend-of-friend (FOF) Catalogue.

For brieviaty, we include only the following particle types:

0 (Gas) and 1(Dark Matter) are not included.

The container format of these files is BigFile, which was developed for massively parallel IO of BlueTides on BlueWaters. See install for installation.

Redshifts

Here is a list of included redshift and the file size. The entire directory can be mirrored with lftp or curl.

z path Ngroup size
17.00 PIG_027 000293340 0.17 GB
16.00 PIG_030 000827451 0.48 GB
15.00 PIG_035 002201578 1.30 GB
14.00 PIG_037 005332371 3.16 GB
13.00 PIG_040 011959804 7.32 GB
12.00 PIG_044 024740312 15.68 GB
11.00 PIG_048 047488084 30.60 GB
10.00 PIG_054 083453094 55.55 GB
09.00 PIG_066 135386676 93.27 GB
08.00 PIG_086 200062344 155.11 GB

Units

Units are in MP-Gadget internal units :

Useful Constants in this unit:

Columns

In bigfile a column is represented by a BigBlock. Common blocks are

  1. For particles
4/Mass, 4/Position, 4/Velocity,
5/Mass, 5/Position, 5/Velocity,
4/StarFormationTime,
5/BlackholeMass, 5/BlackholeAccretionRate
  1. For FOFGroup
FOFGroups/OffsetByType
FOFGroups/LengthByType
FOFGroups/MassByType
FOFGroups/Mass
FOFGroups/StarFormationRate
FOFGroups/BlackholeAccretionRate
FOFGroups/MassCenterPosition
FOFGroups/MassCenterVelocity

Install

To install bigfile, clone the repository and use standard python setup.py.

git clone https://github.com/rainwoodman/bigfile
(cd bigfile; python setup.py install --user)

Warning

Installing bigfile depends on Cython and numpy.

Example

Once a bigfile is opened, access it is similar to a numpy structure array, except slicing is always required (similar to pyfits or h5py). In other words, to read from the file, use block[start:end], where start and end are the start and end offsets of the range to be read.

The jump table for accessing the corresponding particle attributes of a halo are stored in FOFGroups/LengthByType and FOFGroups/OffsetByType.

python
>>> from bigfile import BigFile
>>> p037 = BigFile('PIG_037')
>>> print p037['header'].attrs.keys
['BoxSize', 'HubbleParam', 'MassTable', 'NumFOFGroupsTotal',
        'NumPartInGroupTotal', 'Omega0', 'OmegaLambda', 'Time']
>>> print p037['header'].attrs['Time'][0]
0.0666666663633
>>> print p037.blocks

>>> print p037['FOFGroups/Mass'].size
5332371
>>> print p037['FOFGroups/MassByType'][:1]
[[ 0.96118915  4.94944572  0.          0.          0.00673234  0.    ]]
>>> sel = slice(p037['FOFGroups/OffsetByType'][0][4],
        p037['FOFGroups/OffsetByType'][0][4] + p037['FOFGroups/LengthByType'][0][4])
>>> print p037['4/Mass'][sel].sum()
0.00673234
>>> print p037['FOFGroups/MassByType'][0][4]
0.00673234

Issues

There shall be many issues. Please file a bug report at

https://github.com/bluetides-project/bluetides-datarelease/issues/new