@@ -69,7 +69,7 @@ def convert_potential(
6969
7070 >>> pot = gp.KeplerPotential(m_tot=1e11, units="galactic")
7171 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
72- <KeplerPotential: m=1.00e+11 (kpc,Myr,solMass,rad)>
72+ <KeplerPotential: m=1.00e+11 solMass (kpc,Myr,solMass,rad)>
7373
7474 """ # noqa: E501
7575 return galax_to_gala (from_ )
@@ -321,7 +321,7 @@ def galax_to_gala(pot: gp.BurkertPotential, /) -> galap.BurkertPotential:
321321
322322 >>> pot = gp.BurkertPotential(m=1e11, r_s=20, units="galactic")
323323 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
324- <BurkertPotential: rho=7.82e+06, r0=20.00 (kpc,Myr,solMass,rad)>
324+ <BurkertPotential: rho=7.82e+06 solMass / kpc3 , r0=20.00 kpc (kpc,Myr,solMass,rad)>
325325
326326 .. skip: end
327327
@@ -379,7 +379,7 @@ def galax_to_gala(
379379
380380 >>> pot = gp.HarmonicOscillatorPotential(omega=u.Quantity(1, "1/Myr"), units="galactic")
381381 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
382- <HarmonicOscillatorPotential: omega=[1.] (kpc,Myr,solMass,rad)>
382+ <HarmonicOscillatorPotential: omega=[1.] 1 / Myr (kpc,Myr,solMass,rad)>
383383
384384 """ # noqa: E501
385385 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -433,7 +433,7 @@ def galax_to_gala(pot: gp.HernquistPotential, /) -> galap.HernquistPotential:
433433
434434 >>> pot = gp.HernquistPotential(m_tot=1e11, r_s=20, units="galactic")
435435 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
436- <HernquistPotential: m=1.00e+11, c=20.00 (kpc,Myr,solMass,rad)>
436+ <HernquistPotential: m=1.00e+11 solMass , c=20.00 kpc (kpc,Myr,solMass,rad)>
437437
438438 """ # noqa: E501
439439 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -489,7 +489,7 @@ def galax_to_gala(pot: gp.IsochronePotential, /) -> galap.IsochronePotential:
489489
490490 >>> pot = gp.IsochronePotential(m_tot=1e11, r_s=10, units="galactic")
491491 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
492- <IsochronePotential: m=1.00e+11, b=10.00 (kpc,Myr,solMass,rad)>
492+ <IsochronePotential: m=1.00e+11 solMass , b=10.00 kpc (kpc,Myr,solMass,rad)>
493493
494494 """ # noqa: E501
495495 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -549,7 +549,7 @@ def galax_to_gala(pot: gp.JaffePotential, /) -> galap.JaffePotential:
549549
550550 >>> pot = gp.JaffePotential(m_tot=1e11, r_s=20, units="galactic")
551551 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
552- <JaffePotential: m=1.00e+11, c=20.00 (kpc,Myr,solMass,rad)>
552+ <JaffePotential: m=1.00e+11 solMass , c=20.00 kpc (kpc,Myr,solMass,rad)>
553553
554554 """
555555 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -603,7 +603,7 @@ def galax_to_gala(pot: gp.KeplerPotential, /) -> galap.KeplerPotential:
603603
604604 >>> pot = gp.KeplerPotential(m_tot=1e11, units="galactic")
605605 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
606- <KeplerPotential: m=1.00e+11 (kpc,Myr,solMass,rad)>
606+ <KeplerPotential: m=1.00e+11 solMass (kpc,Myr,solMass,rad)>
607607
608608 """ # noqa: E501
609609 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -663,7 +663,7 @@ def galax_to_gala(pot: gp.KuzminPotential, /) -> galap.KuzminPotential:
663663
664664 >>> pot = gp.KuzminPotential(m_tot=1e11, r_s=20, units="galactic")
665665 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
666- <KuzminPotential: m=1.00e+11, a=20.00 (kpc,Myr,solMass,rad)>
666+ <KuzminPotential: m=1.00e+11 solMass , a=20.00 kpc (kpc,Myr,solMass,rad)>
667667
668668 """ # noqa: E501
669669 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -735,7 +735,7 @@ def galax_to_gala(pot: gp.LongMuraliBarPotential, /) -> galap.LongMuraliBarPoten
735735 ... units="galactic",
736736 ... )
737737 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
738- <LongMuraliBarPotential: m=1.00e+11, a=20.00, b=10.00, c=5.00, alpha=0.10 (kpc,Myr,solMass,rad)>
738+ <LongMuraliBarPotential: m=1.00e+11 solMass , a=20.00 kpc , b=10.00 kpc , c=5.00 kpc , alpha=0.10 rad (kpc,Myr,solMass,rad)>
739739
740740 """ # noqa: E501
741741 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -795,7 +795,7 @@ def galax_to_gala(pot: gp.MiyamotoNagaiPotential, /) -> galap.MiyamotoNagaiPoten
795795
796796 >>> pot = gp.MiyamotoNagaiPotential(m_tot=1e11, a=6.5, b=0.26, units="galactic")
797797 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
798- <MiyamotoNagaiPotential: m=1.00e+11, a=6.50, b=0.26 (kpc,Myr,solMass,rad)>
798+ <MiyamotoNagaiPotential: m=1.00e+11 solMass , a=6.50 kpc , b=0.26 kpc (kpc,Myr,solMass,rad)>
799799
800800 """ # noqa: E501
801801 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -861,7 +861,7 @@ def galax_to_gala(
861861
862862 >>> pot = gp.MN3ExponentialPotential(m_tot=1e11, h_R=3.0, h_z=0.2, units="galactic")
863863 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
864- <MN3ExponentialDiskPotential: m=1.00e+11, h_R=3.00, h_z=0.20 (kpc,Myr,solMass,rad)>
864+ <MN3ExponentialDiskPotential: m=1.00e+11 solMass , h_R=3.00 kpc , h_z=0.20 kpc (kpc,Myr,solMass,rad)>
865865
866866 """ # noqa: E501
867867 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -969,7 +969,7 @@ def galax_to_gala(pot: gp.PlummerPotential, /) -> galap.PlummerPotential:
969969
970970 >>> pot = gp.PlummerPotential(m_tot=1e11, r_s=10, units="galactic")
971971 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
972- <PlummerPotential: m=1.00e+11, b=10.00 (kpc,Myr,solMass,rad)>
972+ <PlummerPotential: m=1.00e+11 solMass , b=10.00 kpc (kpc,Myr,solMass,rad)>
973973 """ # noqa: E501
974974 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
975975
@@ -1044,7 +1044,7 @@ def galax_to_gala(pot: gp.PowerLawCutoffPotential, /) -> galap.PowerLawCutoffPot
10441044
10451045 >>> pot = gp.PowerLawCutoffPotential(m_tot=1e11, alpha=1.8, r_c=20, units="galactic")
10461046 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
1047- <PowerLawCutoffPotential: m=1.00e+11, alpha=1.80, r_c=20.00 (kpc,Myr,solMass,rad)>
1047+ <PowerLawCutoffPotential: m=1.00e+11 solMass , alpha=1.80 , r_c=20.00 kpc (kpc,Myr,solMass,rad)>
10481048
10491049 .. skip: end
10501050 """ # noqa: E501
@@ -1106,7 +1106,7 @@ def galax_to_gala(pot: gp.SatohPotential, /) -> galap.SatohPotential:
11061106
11071107 >>> pot = gp.SatohPotential(m_tot=1e11, a=20, b=10, units="galactic")
11081108 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
1109- <SatohPotential: m=1.00e+11, a=20.00, b=10.00 (kpc,Myr,solMass,rad)>
1109+ <SatohPotential: m=1.00e+11 solMass , a=20.00 kpc , b=10.00 kpc (kpc,Myr,solMass,rad)>
11101110
11111111 """
11121112 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -1163,7 +1163,7 @@ def galax_to_gala(pot: gp.StoneOstriker15Potential, /) -> galap.StonePotential:
11631163
11641164 >>> pot = gp.StoneOstriker15Potential(m_tot=1e11, r_c=20, r_h=10, units="galactic")
11651165 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
1166- <StonePotential: m=1.00e+11, r_c=20.00, r_h=10.00 (kpc,Myr,solMass,rad)>
1166+ <StonePotential: m=1.00e+11 solMass , r_c=20.00 kpc , r_h=10.00 kpc (kpc,Myr,solMass,rad)>
11671167
11681168 """ # noqa: E501
11691169 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -1243,7 +1243,7 @@ def galax_to_gala(pot: gp.LogarithmicPotential, /) -> galap.LogarithmicPotential
12431243
12441244 >>> pot = gp.LogarithmicPotential(v_c=u.Quantity(220, "km/s"), r_s=20, units="galactic")
12451245 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
1246- <LogarithmicPotential: v_c=0.22, r_h=20.00, q1=1.00, q2=1.00, q3=1.00, phi=0 (kpc,Myr,solMass,rad)>
1246+ <LogarithmicPotential: v_c=0.22 kpc / Myr , r_h=20.00 kpc , q1=1.00 , q2=1.00 , q3=1.00 , phi=0 rad (kpc,Myr,solMass,rad)>
12471247
12481248 """ # noqa: E501
12491249 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -1270,7 +1270,7 @@ def galax_to_gala(pot: gp.LMJ09LogarithmicPotential, /) -> galap.LogarithmicPote
12701270 ... units="galactic",
12711271 ... )
12721272 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
1273- <LogarithmicPotential: v_c=0.22, r_h=20.00, q1=1.00, q2=1.00, q3=1.00, phi=0 (kpc,Myr,solMass,rad)>
1273+ <LogarithmicPotential: v_c=0.22 kpc / Myr , r_h=20.00 kpc , q1=1.00 , q2=1.00 , q3=1.00 , phi=0 rad (kpc,Myr,solMass,rad)>
12741274
12751275 """ # noqa: E501
12761276 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -1466,7 +1466,8 @@ def galax_to_gala(pot: gp.NFWPotential, /) -> galap.NFWPotential:
14661466
14671467 >>> pot = gp.NFWPotential(m=1e12, r_s=20, units="galactic")
14681468 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
1469- <NFWPotential: m=1.00e+12, r_s=20.00, a=1.00, b=1.00, c=1.00 (kpc,Myr,solMass,rad)>
1469+ <NFWPotential: m=1.00e+12 solMass, r_s=20.00 kpc, a=1.00 , b=1.00 , c=1.00
1470+ (kpc,Myr,solMass,rad)>
14701471
14711472 """
14721473 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
@@ -1534,7 +1535,7 @@ def galax_to_gala(
15341535 ... a1=1, a2=0.9, a3=0.8,
15351536 ... units="galactic")
15361537 >>> gp.io.convert_potential(gp.io.GalaLibrary, pot)
1537- <LeeSutoTriaxialNFWPotential: v_c=0.47, r_s=20.00, a=1.00, b=0.90, c=0.80 (kpc,Myr,solMass,rad)>
1538+ <LeeSutoTriaxialNFWPotential: v_c=0.47 kpc / Myr , r_s=20.00 kpc , a=1.00 , b=0.90 , c=0.80 (kpc,Myr,solMass,rad)>
15381539
15391540 """ # noqa: E501
15401541 _error_if_not_all_constant_parameters (pot , * pot .parameters .keys ())
0 commit comments