File:Dependence of luminosity distance on density parameter (jpn).svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
![File:Dependence of luminosity distance on density parameter (jpn).svg](https://upload.wikimedia.org/wikipedia/commons/thumb/1/13/Dependence_of_luminosity_distance_on_density_parameter_%28jpn%29.svg/540px-Dependence_of_luminosity_distance_on_density_parameter_%28jpn%29.svg.png?20221108113100)
Size of this PNG preview of this SVG file: 540 × 360 pixels. Other resolutions: 320 × 213 pixels | 640 × 427 pixels | 1,024 × 683 pixels | 1,280 × 853 pixels | 2,560 × 1,707 pixels.
Original file (SVG file, nominally 540 × 360 pixels, file size: 50 KB)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
異なる密度パラメータに対する赤方偏移と光度距離の関係のグラフ。
Summary
[edit]DescriptionDependence of luminosity distance on density parameter (jpn).svg |
日本語: 異なる密度パラメータに対する赤方偏移と光度距離の関係のグラフ。ダークエネルギーと物質のみの宇宙を仮定し、物質の密度パラメータ Ωm0 = 0, 0.315, 1 に対する光度距離の赤方偏移依存性をプロットしたもの。 |
Date | |
Source | Own work |
Author | Osanshouo |
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following license:
![w:en:Creative Commons](https://upload.wikimedia.org/wikipedia/commons/thumb/7/79/CC_some_rights_reserved.svg/90px-CC_some_rights_reserved.svg.png)
![attribution](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Cc-by_new_white.svg/24px-Cc-by_new_white.svg.png)
This file is licensed under the Creative Commons Attribution 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
Source Code
[edit]import numpy as np
import scipy.integrate as integrate
import matplotlib.pyplot as plt
plt.rcParams['font.family'] = "serif"
plt.rcParams['font.serif'] = ["Source Han Serif JP", "DejaVu Serif", ]
plt.rcParams["mathtext.fontset"] = "cm"
plt.rcParams["font.size"] = 12
fig = plt.figure(figsize=(6,4), )
ax = fig.add_subplot(111)
z_max = 2
z = np.linspace(0, z_max, 64)
c_per_H0 = 2.998e3 #[Mpc/h]
Omega_rad = 9.14E-5
for Omega_mat, color, ls, label in [
(0, "#005aff", "-", "$\Omega_{m0} = 0$"),
(0.315, "#ff4b00", "-.", "$\Omega_{m0} = 0.315$"),
(1, "#03af7a", ":", "$\Omega_{m0} = 1$"),
]:
Omega_lam = 1. - Omega_mat - Omega_rad
def E(z):
'''Hubble parameter per Hubble constant H(z)/H0'''
return np.sqrt( Omega_lam + Omega_mat*(1.+z)**3 + Omega_rad*(1.+z)**4 )
def comoving(z):
result, err = integrate.quad(lambda x: 1./E(x), 0, z)
return c_per_H0 * result
comoving = np.vectorize(comoving)
x = comoving(z)
dl = (1. + z) * x
ax.plot(z, dl, c=color, ls=ls, label=label)
ax.set_xlim([0, z_max])
ax.set_ylim([0, 1e4])
fontsize = 13
ax.set_xlabel(r"赤方偏移 $z$", fontsize=fontsize)
ax.set_ylabel(r"光度距離 $d_L$ [$\mathrm{Mpc}/h$]", fontsize=fontsize)
ax.grid()
ax.legend(loc=4)
left=0.15
plt.subplots_adjust(bottom=0.15, left=left, right=1-left)
plt.plot()
#plt.show()
plt.savefig("Dependence_of_luminosity_distance_on_density_parameter.svg")
plt.close()
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 11:31, 8 November 2022 | ![]() | 540 × 360 (50 KB) | Osanshouo (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
There are no pages that use this file.
File usage on other wikis
The following other wikis use this file:
- Usage on ja.wikipedia.org
Metadata
This file contains additional information such as Exif metadata which may have been added by the digital camera, scanner, or software program used to create or digitize it. If the file has been modified from its original state, some details such as the timestamp may not fully reflect those of the original file. The timestamp is only as accurate as the clock in the camera, and it may be completely wrong.
Width | 432pt |
---|---|
Height | 288pt |
Hidden categories: