Skip to content

Instantly share code, notes, and snippets.

View emptymalei's full-sized avatar
📡
sending EM waves to Mars

LM emptymalei

📡
sending EM waves to Mars
View GitHub Profile
@emptymalei
emptymalei / .vromerc
Last active August 29, 2015 14:09
Vrome
" Disable Vrome in those sites, Multiple URLs can be separated with ,
set disablesites=mail.google.com, reader.google.com
" Change key mapping in normal mode, please check Vrome Features for available key mapping
map j 10j
map k 10k
问今是何世,乃不知有汉,无论魏晋。
GitHub 坑
https://github.com/emptymalei
Conventionalism
Creative Commons
Open Source
\begin{align*}
\ket{\Psi_{m}(x)}= &\cos\theta_m \left( a_L \exp(-i \int_0^x \omega_m(x)/2 dx ) \ket{\nu_L(x)} + a_H \exp(i\int_0^x \omega_m(x)/2 dx) \ket{\nu_H(x)} \right) \\
&+ \sin\theta_m \left( -a_H^* \exp(-i \int_0^x \omega_m(x)/2 dx ) \ket{\nu_L(x)} + a_L^* \exp(i\int_0^x \omega_m(x)/2 dx) \ket{\nu_H(x)} \right) \\
=& \left(\cos\theta_m a_L\exp(-i \int_0^x \omega_m(x)/2 dx ) - \sin\theta_m a_H^* \exp(-i \int_0^x \omega_m(x)/2 dx ) \right)\ket{\nu_L(x)} \\
& +\left( \cos\theta_m a_H \exp(i\int_0^x \omega_m(x)/2 dx) + \sin\theta_m a_L^* \exp(i\int_0^x \omega_m(x)/2 dx) \right)\ket{\nu_H(x)} \\
=& \left(\cos\theta_m a_L\exp(-i \int_0^x \omega_m(x) /2 dx ) - \sin\theta_m a_H^* \exp(-i \int_0^x \omega_m(x)/2 dx ) \right)( \cos\theta_m \ket{\nu_e} - \sin \theta_m \ket{\nu_x} ) \\
& +\left( \cos\theta_m a_H \exp(i\int_0^x \omega_m(x)/2 dx) + \sin\theta_m a_L^* \exp(i\int_0^x \omega_m(x)/2 dx) \right) ( \sin\theta_m \ket{\nu_e} + \cos\theta_m \ket{\nu_x} ) \\
=& \left[\left(\cos\theta_m a_L\exp(
@emptymalei
emptymalei / 宇宙膨胀VS物体膨胀
Created October 8, 2012 14:40
Planned Response To Some Forum
http://www.douban.com/group/topic/33250036/
简言之:
1. 场方程不能决定粒子的大小。
2. 我们之所以看到天体离我们远去,是因为天体是跟时空有耦合的(引力场)的,而且,并不是紧耦合,不是钉在上面的。
---------------------------
@emptymalei
emptymalei / marspolar.md
Created November 28, 2015 23:53
marspolar.md

最近勾搭上了 MarsPolar 的创始人什么的,打听了一下情况。我总结在这里。

MarsPolar 干什么?

MarsPolar 跟 MarsOne 不同,这是一个更加开放,更加国际化的组织。他们第一阶段的目标是联合世界各地对火星探索感兴趣的人,然后把这些人组织起来,去实现火星上的一个居住点。

下面是几个关于 MarsPolar 的几个人物介绍:

@emptymalei
emptymalei / gist:4373188
Created December 25, 2012 13:13
How to draw Mollweide Maps using Mathematica
http://mathematica.stackexchange.com/questions/13361/mollweide-maps-in-mathematica
cart[{lambda_, phi_}] := With[{theta = fc[phi]}, {2 /Pi*lambda Cos[theta], Sin[theta]}]
fc[phi_] := Block[{theta}, If[Abs[phi] == Pi/2, phi, theta /.
FindRoot[2 theta + Sin[2 theta] == Pi Sin[phi], {theta, phi}]]];
@emptymalei
emptymalei / heatmap_example.py
Created December 10, 2015 05:11 — forked from teechap/heatmap_example.py
How to make a heatmap from data stored in Python lists
'''
Most heatmap tutorials I found online use pyplot.pcolormesh with random sets of
data from Numpy; I just needed to plot x, y, z values stored in lists--without
all the Numpy mumbo jumbo. Here I have code to plot intensity on a 2D array, and
I only use Numpy where I need to (pcolormesh expects Numpy arrays as inputs).
'''
import matplotlib.pyplot as plt
import numpy as np
#here's our data to plot, all normal Python lists
@emptymalei
emptymalei / 为什么男人小便的时候,会打激灵呢?
Created December 27, 2012 14:16
为什么男人小便的时候,会打激灵呢?
尿颤用 @赵研™ 的那个解释我一直很怀疑。
1. 如果尿的温度比其它部分高,那么尿确实是热源。但是即便水的热容很大,可以作为很好的热源,那么我们认为人的膀胱充满尿液的时候体积为 400ml [^1],那么对应的表面积为 180cm^2 (仅仅对球形的膀胱适用……)。再假定人的膀胱厚度 2mm(充满尿液),与膀胱外组织温差 1℃,导热系数 3000 J/(m s ℃)??????。这样算出来导热速率是 300 J/s。
……等补充。需计算。
关于这个问题,我一直有个猜测。
@emptymalei
emptymalei / gist:4419076
Last active December 10, 2015 10:09
关于脉冲星
第一次接触这类问题,我有几点没有搞清楚。同时顺便把之前说的总结到这里来,你来反驳我的观点,我试试有没有问题。总的来说,在我这个外行人眼里,这是一个好想法。
1. 从 Fieire 的文章中看,modulation 的具体物理并不清楚,到底是如何 modulate 的,到底是不是通过 A 电磁波与 B 的电磁波发射的「机构」相互作用产生的,A 的电磁波和 B 磁层的相互作用对 modulation 有没有影响,并没有好的动力学来解释。是不是这样?
2. 为什么我之前说需要相对论修正呢?因为如果 modulation 是在 B 星,那么由于引力和高速运动的缘故,在 B 星看来,A 星的周期并不是我们看到的周期,那么在频率上,并不能直接使用我们看到的 A 的周期与 B 的周期,而且在 B 星 modulate 完了,还要有个 delay 再传到地球。Freire 在 0903.0073 中的附录里面计算的 post-Newtonian 的场方程近似,也就是说广相的一阶近似,这是 Einstein delay 的一部分。但是这个修正可能并不很大。太阳日恒星日的推导没有考虑光速有限和相对论的时间 dilation,不过这里光速有限只影响相位,不影响频率结果,这是使用频率的优势,免去了 Freire 的那种复杂的考虑脉冲星的相位的计算。不过时域上的计算也有它的优势。
3. 脉冲星的 timing 中有很多因素需要考虑,
t=tt¡tt0+¢clock¡¢DM+¢R¯+¢E¯+¢S¯+¢R+¢E+¢S
(来自http://www.cv.nrao.edu/course/astr534/PulsarTiming.html)
里面的 Roemer delay, ISM 等太阳系的因素不考虑,Shapiro delay 也不考虑,因为可以放在后期的数据处理中。
**标签**
《三体》物理学:
http://www.guokr.com/ask/tag/%E3%80%8A%E4%B8%89%E4%BD%93%E3%80%8B%E7%89%A9%E7%90%86%E5%AD%A6/
《三体》科学
http://www.guokr.com/ask/tag/%E3%80%8A%E4%B8%89%E4%BD%93%E3%80%8B%E7%A7%91%E5%AD%A6/discussing/
《三体》:
http://www.guokr.com/ask/tag/%E3%80%8A%E4%B8%89%E4%BD%93%E3%80%8B/