aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic
Commit message (Collapse)AuthorAgeFilesLines
* clusters/halo.py: calculate electron density default end at z0Aaron LI2017-06-231-10/+12
|
* mergertree.py: axes.hold() is deprecated and it is True by defaultAaron LI2017-06-231-1/+0
|
* halo.py: calculate magnetic field using a scaling relationAaron LI2017-06-231-8/+22
|
* halo.py + formation.py: Add argument z0Aaron LI2017-06-232-7/+18
|
* emission.py: Add power(), flux(), brightness() methodsAaron LI2017-06-231-25/+111
|
* Use keyword "BUNIT" and unit "K"Aaron LI2017-06-131-1/+1
|
* Fix GalaxyClusters importAaron LI2017-06-131-2/+2
|
* clusters.py: Fix calculation on size_{major,minor}Aaron LI2017-06-111-15/+20
| | | | | | | | The size_{major,minor} should be the major and minor (not semi-) axes of the cluster halo; but I originally calculated them as the semi-major and semi-minor axes. Also change the units of size_{major,minor} from [deg] to [arcmin].
* configs: extragalactic/halos: change "radius_halo" to "radius"Aaron LI2017-06-011-5/+5
|
* clusters: Move units.py and cosmology.py to utilsAaron LI2017-06-015-291/+6
|
* extragalactic/clusters/clusters.py: Trim unused importsAaron LI2017-06-011-2/+0
|
* fg21sim/clusters: Save progress on halo simulationAaron LI2017-06-014-3/+29
|
* clusters/halo.py: Add zbegin & zend parametersAaron LI2017-06-011-3/+37
| | | | | * Add "zbegin" and "zend" parameters to "calculate_electron_spectrum()" * Add more detail docstrings
* Add clusters/emission.py: Calculate synchrotron emissivityAaron LI2017-06-012-0/+123
| | | | | | | Calculate the synchrotron emissivity from the given electron spectrum at specified frequency. Add the electron charge to units.Constants
* halo.py: Rewrite "_coef_acceleration()" methodAaron LI2017-06-011-15/+44
|
* Bind ClusterFormation to HaloSingleAaron LI2017-06-012-1/+7
| | | | Also add logging messages to simulate_mergertree()
* cosmology.py: Optimize the speed of overdensity_crit()Aaron LI2017-06-011-2/+11
|
* Update to use custom units.py instead of astropy'sAaron LI2017-06-013-52/+36
| | | | Also fix a parameter error in "formation.py"
* Add units.py: Commonly used units and conversions and constantsAaron LI2017-06-011-0/+66
| | | | | Astropy's unit conversions is too slow, thus store the used units conversions to avoid astropy's slow conversions.
* mergertree.py: Implement function "plot_mtree()"Aaron LI2017-06-011-2/+52
|
* halo.py: Update to match MergerTree structuresAaron LI2017-06-011-8/+8
|
* Add clusters/formation.py: Simulate cluster merging historyAaron LI2017-06-011-0/+230
|
* mergertree.py: Remove "merged" parameterAaron LI2017-06-011-5/+1
|
* solver.py: Avoid possible overflow when w is too largeAaron LI2017-06-011-0/+10
|
* halo.py: Force a minimal value on acceleration coefficientAaron LI2017-06-012-2/+26
| | | | | | | To avoid the too small (or zero) values for the diffusion coefficient of the Fokker-Planck equation. Also change config "extragalactic/halo/pmax" from 1e4 to 1e5
* cosmology.py: Greatly optimize the speed!Aaron LI2017-06-011-26/+57
|
* cosmology.py: Only support flat ΛCDM cosmological modelAaron LI2017-06-011-93/+25
|
* clusters/halo: Add missing config "buffer_np"Aaron LI2017-06-011-0/+2
|
* clusters/solver.py: Extrapolate the x grid to avoid NaN'sAaron LI2017-06-011-5/+15
|
* clusters/solver.py: Disable a RuntimeWarningAaron LI2017-06-011-2/+4
|
* clusters/clusters.py: Fix import pathAaron LI2017-06-011-6/+6
|
* Add clusters/halo.py: simulate single halo for clusterAaron LI2017-06-011-0/+698
| | | | | Simulate (giant) radio halos following the "statistical magneto-turbulent model" proposed by Cassano & Brunetti (2005).
* cosmology.py: Change name to "Cosmology"; Add "age0" and "Ob0"Aaron LI2017-06-011-3/+18
|
* Add clusters/solver.py to solve the Fokker-Planck equationAaron LI2017-06-011-0/+276
| | | | | Adopt the finite difference scheme to solve the Fokker-Planck equation, following Park & Petrosian (1996, ApJS, 103, 255).
* Add clusters/mergertree.pyAaron LI2017-06-011-0/+77
| | | | | The merger tree is a binary tree that represents the merging (or formation) history of a cluster.
* Add clusters/cosmology.py with common cosmological modelsAaron LI2017-06-011-0/+230
| | | | | | Mainly the "flat LambdaCDM" and "EdS" cosmological models. With some useful utility functions.
* Make separate directory for clusters, prepare for halo simulationsAaron LI2017-06-013-4/+4
|
* extragalactic/clusters: Update to use sky.pyAaron LI2017-05-261-77/+90
|
* extragalactic/clusters: Scale input catalog to match the sky coverageAaron LI2017-05-261-20/+29
|
* configs : Drop "output/filetype"; only support FITSAaron LI2017-05-171-5/+0
|
* extragalactic/pointsources: Return "None" file path and add a TODOAaron LI2016-11-211-2/+4
|
* Update "simulate_frequency()" to also return the output file pathAaron LI2016-11-211-5/+20
| | | | | * Update "output()" method to return the output file path * Update "simulate()" to also return the list of output file paths
* utils/__init__.py: Only import "setup_logging" from "logging.py"Aaron LI2016-10-291-1/+1
| | | | | | | | | | Since some modules (e.g., healpix.py) under "utils" involves Numba JIT optimization, which significantly slows the start-up speed, even some consumers (e.g., bin/fg21sim-webui) do not need them at all. Fix various import statements of other modules. NOTE: not test at the moment!
* extragalactic/pointsource (#3)Jason Ma2016-10-2710-0/+1834
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge PR#3: Add new simulation component "extragalactic/pointsources", including SF, SB, RQ, FRI and FRII. * extragalactic/pointsource: add point source simulation module * extracgalactic/pointsource: add point source simulation module * Add configurating spec to extragalgactic point sources. * Modified some variables * base.py: modified * flux.py: modified * fr1.py: modified * fr2.py: modified * pointsources.py: modified * psparams.py: modified * radioquiet.py: modified * starforming.py: modified * starbursting.py: modified * Rewritten the comments. * base.py: modified * flux.py: modified * fr1.py: modified * fr2.py: modified * Modified * psparams.py: modified * radioquiet.py: modified * starforming.py: modified * starbursting.py: modified * Modified * Modified * Modified * Modified * Modified * MOdified * Modified * Modified * Modified * Modified * Modified * Modified * Modified * Modified * Modified * Changed pointsource to pointsources * Fixed some config keywords * Fixed some config keywords * Fixed some config keywords * Fixed some config keywords * Fixed some config keywords * Fixed some config keywords * Fixed some config keywords * base.py:rewrited * fr1.py:rewritten * pointsources.py: rewritten * radioquiet.py: rewritten * Rewritten * Rewritten * base.py: modified * fr1.py: modified * fr2.py: modified * radioquiet.py: modified * starbursting.py: modified * starforming.py: modified * Fix conflicts * fg21sim: fixed conflicts * base.py: modified frequencies loading in _get_configs() * Rewritten as forground.py * fg21sim: fixed conflicts * base.py: deteled loading for frequencies configurations. * fr1.py: modified * fr2.py: modified * pointsources.py: modified * radioquiet.py: modified * starbursting.py: modified * starforming.py: modified * Add new methods to calculate Tb. * Add new methods to calculate Tb. * Add new methods to calculate Tb. * Add new methods to calculate Tb. * Add new methods to calculate Tb. * Add new methods to calculate Tb. * Deleted useless comments. * Add pscomps to deal with multi-type PS problem. * Add a new key. * Fixed permission to 755. * Rejusted PS subsections. * Add methods to calcualte luminosity function and redshift distribution. * Rejusted generation of samples redshift and luminosity. * Fixed mistakes on FRII structure, added hotspots and offsets. * Reajusted generation of samples redshift and luminosity. * Readujsted generation of samples radii, redshifts and luminosity. * Readujsted generation of samples radii, redshifts and luminosity. * Fixed conflicts. * Fixed conficts. * Combined configurations of pointsources. * Removed the older extragalactic configuration file. * Fixed some mistakes. * Fixed mistakes of drawing PS. * Fixed mistakes of drawing PS. * Fixed code style by pep8 checking. * Fixed code style by pep8 checking. * Fixed code style by pep8 checking. * Fixed some coding style. * Reconfigured default redshift interval. * Reconfigured default redshift interval. * Reconfigured default redshift interval. * Fixed mistakes in method calc_single_Tb and changed resolution of grid. * Fixed mistakes in method calc_single_Tb and changed resolution of grid. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Deleted astropy.units style code to accelerate. * Fixed some mistakes. * Fixed some mistakes. * Changed dA from au.Mpc to float64. * Fixed some mistakes. * Fixed some mistakes. * Fixed some mistakes. * Reajusted grid resolution to generate discs. * Reajusted grid resolution to generate discs. * Reajusted loading strategy of parameter resolution. * Reajusted code style of configuration loading. * Reajusted code style of configuration loading. * Reajusted code style of configuration loading. * Reajusted code style of configuration loading. * Reajusted code style of configuration loading.
* Update to use the new "checksum" config optionAaron LI2016-10-271-1/+4
| | | | | Also add a warning log message for "galactic/snr.py" and "extragalactic/clusters.py".
* extragalactic/clusters.py: Speed up "calc_Tb()" significantlyAaron LI2016-10-251-10/+16
| | | | | | | | | Avoid using "astropy.units" in "calc_Tb()", which significantly speeds up this method. NOTE: whether the distance given by the simulation needs additional conversion to derive the *luminosity distance* ??
* extragalactic/clusters.py: Use "Fnu_to_Tb_fast()"Aaron LI2016-10-241-13/+15
|
* extragalactic/clusters.py: Fix multiple bugs (Test OK)Aaron LI2016-10-221-10/+45
| | | | | | * Fix several bugs, e.g., typo, wrong quantity operation, etc. * Add new method "_calc_specindex()", also allow further improvement * Improve docstrings, comments, and log messages.
* Support new simulation component: extragalactic/clustersAaron LI2016-10-222-0/+654
Support simulate the radio emission from clusters of galaxies. Currently only the radio halos is considered, while the radio relics need more investigations. Also, this simulation requires a cluster catalog derived from the Hubble Volume Project simulation. NOTE: not tested at the moment