Package pycosmicstar :: Module structuresabstract
[hide private]
[frames] | no frames]

Source Code for Module pycosmicstar.structuresabstract

 1  #!/usr/bin/env python3 
 2  # *-* Coding: UTF-8 *-* 
 3  from __future__ import division, absolute_import 
 4   
 5  __author__ = "Eduardo dos Santos Pereira" 
 6  __email__ = "pereira.somoza@gmail.com" 
 7  __credits__ = ["Eduardo dos Santos Pereira"] 
 8  __license__ = "GPLV3" 
 9  __version__ = "1.0.1" 
10  __maintainer__ = "Eduardo dos Santos Pereira" 
11  __status__ = "Stable" 
12   
13  """Abstract Class of like Press-Schechter formalism 
14   
15  This file is part of pystar. 
16  copyright : Eduardo dos Santos Pereira 
17   
18  pystar is free software: you can redistribute it and/or modify 
19  it under the terms of the GNU General Public License as published by 
20  the Free Software Foundation, either version 3 of the License. 
21  pystar is distributed in the hope that it will be useful, 
22  but WITHOUT ANY WARRANTY; without even the implied warranty of 
23  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
24  GNU General Public License for more details. 
25   
26  You should have received a copy of the GNU General Public License 
27  along with Foobar.  If not, see <http://www.gnu.org/licenses/>. 
28   
29  """ 
30   
31   
32 -class structuresabstract:
33
34 - def massFunction(self, lm, z):
35 """Return the mass function of dark halos 36 """ 37 raise NotImplementedError('I need to be implemented!')
38
39 - def fstm(self, lm):
40 '''Numerical function that return the value of sigm that 41 will be used by dfridr to calculate d_sigma_dlog10(m).''' 42 raise NotImplementedError('I need to be implemented!')
43
44 - def halos_n(self, z):
45 """Return the integral of the mass function of dark halos multiplied 46 by mass in the range of log(M_min) a log(M_max) 47 """ 48 raise NotImplementedError('I need to be implemented!')
49
50 - def fbstruc(self, z):
51 """Return the faction of barions into structures 52 """ 53 raise NotImplementedError('I need to be implemented!')
54
55 - def numerical_density_halos(self, z):
56 """Return the numerial density of dark halos 57 within the comove volume 58 """ 59 raise NotImplementedError('I need to be implemented!')
60
61 - def abt(self, a):
62 """Return the accretion rate of barionic matter into strutures 63 """ 64 raise NotImplementedError('I need to be implemented!')
65
66 - def cosmicStarFormationRate(self, z):
67 raise NotImplementedError("I need to be implemented!")
68
69 - def gasDensityInStructures(self, z):
70 raise NotImplementedError("I need to be implemented!")
71
72 - def getCacheDir(self):
73 """Return True if the cache directory existe and false else. 74 """ 75 raise NotImplementedError('I need to be implemented!')
76