Skip to content

Commit de5782c

Browse files
Jammy2211Jammy2211
authored andcommitted
feat: add Kaplinghat SIDM cored NFW profile
1 parent 1cc6eb2 commit de5782c

7 files changed

Lines changed: 735 additions & 77 deletions

File tree

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
KaplinghatCoredNFWSph:
2+
centre_0:
3+
type: Gaussian
4+
mean: 0.0
5+
sigma: 0.1
6+
width_modifier:
7+
type: Absolute
8+
value: 0.05
9+
limits:
10+
lower: -inf
11+
upper: inf
12+
centre_1:
13+
type: Gaussian
14+
mean: 0.0
15+
sigma: 0.1
16+
width_modifier:
17+
type: Absolute
18+
value: 0.05
19+
limits:
20+
lower: -inf
21+
upper: inf
22+
kappa_s:
23+
type: Uniform
24+
lower_limit: 0.0
25+
upper_limit: 1.0
26+
width_modifier:
27+
type: Relative
28+
value: 0.2
29+
limits:
30+
lower: 0.0
31+
upper: inf
32+
scale_radius:
33+
type: Uniform
34+
lower_limit: 0.0
35+
upper_limit: 30.0
36+
width_modifier:
37+
type: Relative
38+
value: 0.2
39+
limits:
40+
lower: 0.0
41+
upper: inf
42+
sigma_over_m:
43+
type: Uniform
44+
lower_limit: 0.0
45+
upper_limit: 10.0
46+
width_modifier:
47+
type: Relative
48+
value: 0.5
49+
limits:
50+
lower: 0.0
51+
upper: inf
52+
t_age:
53+
type: Uniform
54+
lower_limit: 0.0
55+
upper_limit: 13.8
56+
width_modifier:
57+
type: Relative
58+
value: 0.2
59+
limits:
60+
lower: 0.0
61+
upper: inf
62+
interaction_radius:
63+
type: Uniform
64+
lower_limit: 0.0
65+
upper_limit: 30.0
66+
width_modifier:
67+
type: Relative
68+
value: 0.2
69+
limits:
70+
lower: 0.0
71+
upper: inf
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
KaplinghatCoredNFWMCRLudlowSph:
2+
centre_0:
3+
type: Gaussian
4+
mean: 0.0
5+
sigma: 0.1
6+
width_modifier:
7+
type: Absolute
8+
value: 0.05
9+
limits:
10+
lower: -inf
11+
upper: inf
12+
centre_1:
13+
type: Gaussian
14+
mean: 0.0
15+
sigma: 0.1
16+
width_modifier:
17+
type: Absolute
18+
value: 0.05
19+
limits:
20+
lower: -inf
21+
upper: inf
22+
mass_at_200:
23+
type: LogUniform
24+
lower_limit: 100000000.0
25+
upper_limit: 1000000000000000.0
26+
width_modifier:
27+
type: Relative
28+
value: 0.5
29+
limits:
30+
lower: 0.0
31+
upper: inf
32+
sigma_over_m:
33+
type: Uniform
34+
lower_limit: 0.0
35+
upper_limit: 10.0
36+
width_modifier:
37+
type: Relative
38+
value: 0.5
39+
limits:
40+
lower: 0.0
41+
upper: inf
42+
t_age:
43+
type: Uniform
44+
lower_limit: 0.0
45+
upper_limit: 13.8
46+
width_modifier:
47+
type: Relative
48+
value: 0.2
49+
limits:
50+
lower: 0.0
51+
upper: inf
52+
redshift_object:
53+
type: Uniform
54+
lower_limit: 0.0
55+
upper_limit: 1.0
56+
width_modifier:
57+
type: Relative
58+
value: 0.5
59+
limits:
60+
lower: 0.0
61+
upper: inf
62+
redshift_source:
63+
type: Uniform
64+
lower_limit: 0.0
65+
upper_limit: 1.0
66+
width_modifier:
67+
type: Relative
68+
value: 0.5
69+
limits:
70+
lower: 0.0
71+
upper: inf
Lines changed: 65 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,65 @@
1-
from .abstract.abstract import MassProfile
2-
from .abstract.mge import MGEDecomposer
3-
from .point import PointMass, SMBH, SMBHBinary
4-
from .total import (
5-
dPIEMass,
6-
dPIEMassSph,
7-
PIEMass,
8-
dPIEPotential,
9-
dPIEPotentialSph,
10-
PowerLawCore,
11-
PowerLawCoreSph,
12-
PowerLawBroken,
13-
PowerLawBrokenSph,
14-
PowerLawMultipole,
15-
IsothermalCore,
16-
IsothermalCoreSph,
17-
PowerLaw,
18-
PowerLawSph,
19-
Isothermal,
20-
IsothermalSph,
21-
)
22-
from .dark import (
23-
gNFW,
24-
gNFWSph,
25-
gNFWVirialMassConcSph,
26-
gNFWVirialMassgNFWConcSph,
27-
NFWTruncatedSph,
28-
NFWTruncatedMCRDuffySph,
29-
NFWTruncatedMCRLudlowSph,
30-
NFWTruncatedMCRScatterLudlowSph,
31-
NFW,
32-
NFWSph,
33-
NFWMCRDuffySph,
34-
NFWMCRLudlowSph,
35-
NFWMCRScatterLudlow,
36-
NFWMCRScatterLudlowSph,
37-
NFWMCRLudlow,
38-
gNFWMCRLudlow,
39-
NFWVirialMassConcSph,
40-
cNFW,
41-
cNFWSph,
42-
cNFWMCRLudlow,
43-
cNFWMCRLudlowSph,
44-
cNFWMCRScatterLudlow,
45-
cNFWMCRScatterLudlowSph,
46-
)
47-
from .stellar import (
48-
Gaussian,
49-
GaussianGradient,
50-
Sersic,
51-
SersicSph,
52-
Exponential,
53-
ExponentialSph,
54-
DevVaucouleurs,
55-
DevVaucouleursSph,
56-
SersicCore,
57-
SersicCoreSph,
58-
SersicGradient,
59-
SersicGradientSph,
60-
Chameleon,
61-
ChameleonSph,
62-
)
63-
from .sheets import ExternalPotential, ExternalShear, MassSheet
1+
from .abstract.abstract import MassProfile
2+
from .abstract.mge import MGEDecomposer
3+
from .point import PointMass, SMBH, SMBHBinary
4+
from .total import (
5+
dPIEMass,
6+
dPIEMassSph,
7+
PIEMass,
8+
dPIEPotential,
9+
dPIEPotentialSph,
10+
PowerLawCore,
11+
PowerLawCoreSph,
12+
PowerLawBroken,
13+
PowerLawBrokenSph,
14+
PowerLawMultipole,
15+
IsothermalCore,
16+
IsothermalCoreSph,
17+
PowerLaw,
18+
PowerLawSph,
19+
Isothermal,
20+
IsothermalSph,
21+
)
22+
from .dark import (
23+
gNFW,
24+
gNFWSph,
25+
gNFWVirialMassConcSph,
26+
gNFWVirialMassgNFWConcSph,
27+
NFWTruncatedSph,
28+
NFWTruncatedMCRDuffySph,
29+
NFWTruncatedMCRLudlowSph,
30+
NFWTruncatedMCRScatterLudlowSph,
31+
NFW,
32+
NFWSph,
33+
NFWMCRDuffySph,
34+
NFWMCRLudlowSph,
35+
NFWMCRScatterLudlow,
36+
NFWMCRScatterLudlowSph,
37+
NFWMCRLudlow,
38+
gNFWMCRLudlow,
39+
NFWVirialMassConcSph,
40+
cNFW,
41+
cNFWSph,
42+
cNFWMCRLudlow,
43+
cNFWMCRLudlowSph,
44+
cNFWMCRScatterLudlow,
45+
cNFWMCRScatterLudlowSph,
46+
KaplinghatCoredNFWSph,
47+
KaplinghatCoredNFWMCRLudlowSph,
48+
)
49+
from .stellar import (
50+
Gaussian,
51+
GaussianGradient,
52+
Sersic,
53+
SersicSph,
54+
Exponential,
55+
ExponentialSph,
56+
DevVaucouleurs,
57+
DevVaucouleursSph,
58+
SersicCore,
59+
SersicCoreSph,
60+
SersicGradient,
61+
SersicGradientSph,
62+
Chameleon,
63+
ChameleonSph,
64+
)
65+
from .sheets import ExternalPotential, ExternalShear, MassSheet
Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
1-
from .gnfw import gNFW, gNFWSph
2-
from .gnfw_mcr import gNFWMCRLudlow
3-
from .gnfw_virial_mass_conc import gNFWVirialMassConcSph
4-
from .gnfw_virial_mass_gnfw_conc import gNFWVirialMassgNFWConcSph
5-
from .nfw import NFW, NFWSph
6-
from .nfw_mcr import NFWMCRLudlowSph, NFWMCRDuffySph, NFWMCRLudlow
7-
from .nfw_mcr_scatter import NFWMCRScatterLudlow, NFWMCRScatterLudlowSph
8-
from .nfw_truncated import NFWTruncatedSph
9-
from .nfw_truncated_mcr import NFWTruncatedMCRLudlowSph, NFWTruncatedMCRDuffySph
10-
from .nfw_truncated_mcr_scatter import NFWTruncatedMCRScatterLudlowSph
11-
from .nfw_virial_mass_conc import NFWVirialMassConcSph
12-
from .cnfw import cNFW, cNFWSph
13-
from .cnfw_mcr import cNFWMCRLudlow, cNFWMCRLudlowSph
14-
from .cnfw_mcr_scatter import cNFWMCRScatterLudlow, cNFWMCRScatterLudlowSph
1+
from .gnfw import gNFW, gNFWSph
2+
from .gnfw_mcr import gNFWMCRLudlow
3+
from .gnfw_virial_mass_conc import gNFWVirialMassConcSph
4+
from .gnfw_virial_mass_gnfw_conc import gNFWVirialMassgNFWConcSph
5+
from .nfw import NFW, NFWSph
6+
from .nfw_mcr import NFWMCRLudlowSph, NFWMCRDuffySph, NFWMCRLudlow
7+
from .nfw_mcr_scatter import NFWMCRScatterLudlow, NFWMCRScatterLudlowSph
8+
from .nfw_truncated import NFWTruncatedSph
9+
from .nfw_truncated_mcr import NFWTruncatedMCRLudlowSph, NFWTruncatedMCRDuffySph
10+
from .nfw_truncated_mcr_scatter import NFWTruncatedMCRScatterLudlowSph
11+
from .nfw_virial_mass_conc import NFWVirialMassConcSph
12+
from .cnfw import cNFW, cNFWSph
13+
from .cnfw_mcr import cNFWMCRLudlow, cNFWMCRLudlowSph
14+
from .cnfw_mcr_scatter import cNFWMCRScatterLudlow, cNFWMCRScatterLudlowSph
15+
from .kaplinghat import KaplinghatCoredNFWSph
16+
from .kaplinghat_mcr import KaplinghatCoredNFWMCRLudlowSph

0 commit comments

Comments
 (0)