File:Redshift vs cosmological distance (jpn).svg
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
![File:Redshift vs cosmological distance (jpn).svg](https://upload.wikimedia.org/wikipedia/commons/thumb/6/61/Redshift_vs_cosmological_distance_%28jpn%29.svg/540px-Redshift_vs_cosmological_distance_%28jpn%29.svg.png?20221107082920)
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: 49 KB)
File information
Structured data
Captions
Captions
Add a one-line explanation of what this file represents
赤方偏移と宇宙論的距離の関係
Summary
[edit]DescriptionRedshift vs cosmological distance (jpn).svg |
日本語: 赤方偏移と宇宙論的距離の関係。平坦な宇宙および物質の密度パラメータ 0.315 を仮定した。 |
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
c_per_H0 = 2.998e3 #[Mpc/h]
Omega_mat = 0.315
Omega_rad = 9.14E-5
Omega_lam = 1. - Omega_mat - Omega_rad
z_max = 7
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 )
z = np.linspace(0, z_max, 64)
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
da = x / (1. + z)
fig = plt.figure(figsize=(6,4), )
ax = fig.add_subplot(111)
ax.plot(z, x, c="#005aff", ls="-", label="共動距離 $x$")
ax.plot(z, dl, c="#ff4b00", ls="-.", label="光度距離 $d_L$")
ax.plot(z, da, c="#03af7a", ls=":", label="角径距離 $d_A$")
ax.set_xlim([0, z_max])
ax.set_ylim([0, 7e3])
fontsize = 13
ax.set_xlabel(r"赤方偏移 $z$", fontsize=fontsize)
ax.set_ylabel(r"距離 [$\mathrm{Mpc}/h$]", fontsize=fontsize)
ax.grid()
ax.legend(loc=7)
left=0.14
plt.subplots_adjust(bottom=0.15, left=left, right=1-left)
plt.plot()
#plt.show()
plt.savefig("redshift_vs_cosmological_distance_jpn.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 | 08:29, 7 November 2022 | ![]() | 540 × 360 (49 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: