11from typing import Tuple
22
3- from autogalaxy .profiles .mass .dark .cnfw import (cNFW , cNFWSph )
3+ from autogalaxy .profiles .mass .dark .cnfw_mcr_scatter import (
4+ cNFWMCRScatterLudlow ,
5+ cNFWMCRScatterLudlowSph ,
6+ )
47
5- from autogalaxy .profiles .mass .dark import mcr_util
6-
7- class cNFWMCRLudlow (cNFW ):
8+ class cNFWMCRLudlow (cNFWMCRScatterLudlow ):
89 def __init__ (
910 self ,
1011 centre : Tuple [float , float ] = (0.0 , 0.0 ),
@@ -14,33 +15,17 @@ def __init__(
1415 redshift_object : float = 0.5 ,
1516 redshift_source : float = 1.0 ,
1617 ):
17- self .mass_at_200 = mass_at_200
18- self .f_c = f_c
19- self .redshift_object = redshift_object
20- self .redshift_source = redshift_source
21-
22- (
23- kappa_s ,
24- scale_radius ,
25- core_radius ,
26- radius_at_200 ,
27- ) = mcr_util .kappa_s_scale_radius_and_core_radius_for_ludlow (
18+ super ().__init__ (
19+ centre = centre ,
20+ ell_comps = ell_comps ,
2821 mass_at_200 = mass_at_200 ,
29- f_c = f_c ,
3022 scatter_sigma = 0.0 ,
23+ f_c = f_c ,
3124 redshift_object = redshift_object ,
3225 redshift_source = redshift_source ,
3326 )
3427
35- super ().__init__ (
36- centre = centre ,
37- ell_comps = ell_comps ,
38- kappa_s = kappa_s ,
39- scale_radius = scale_radius ,
40- core_radius = core_radius ,
41- )
42-
43- class cNFWMCRLudlowSph (cNFWSph ):
28+ class cNFWMCRLudlowSph (cNFWMCRScatterLudlowSph ):
4429 def __init__ (
4530 self ,
4631 centre : Tuple [float , float ] = (0.0 , 0.0 ),
@@ -49,27 +34,11 @@ def __init__(
4934 redshift_object : float = 0.5 ,
5035 redshift_source : float = 1.0 ,
5136 ):
52- self .mass_at_200 = mass_at_200
53- self .f_c = f_c
54- self .redshift_object = redshift_object
55- self .redshift_source = redshift_source
56-
57- (
58- kappa_s ,
59- scale_radius ,
60- core_radius ,
61- radius_at_200 ,
62- ) = mcr_util .kappa_s_scale_radius_and_core_radius_for_ludlow (
37+ super ().__init__ (
38+ centre = centre ,
6339 mass_at_200 = mass_at_200 ,
64- f_c = f_c ,
6540 scatter_sigma = 0.0 ,
41+ f_c = f_c ,
6642 redshift_object = redshift_object ,
6743 redshift_source = redshift_source ,
6844 )
69-
70- super ().__init__ (
71- centre = centre ,
72- kappa_s = kappa_s ,
73- scale_radius = scale_radius ,
74- core_radius = core_radius ,
75- )
0 commit comments