Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (16 sloc) 0.455 kb
from planck import pointing, Planck
import numpy as np
from dipole import Dipole
obt = np.arange(1631280082, 1631280082 + 3600, 1/30.)
#channel
ch = Planck.Planck()['LFI28M']
#pointing
pnt = pointing.Pointing(obt)
vec = pnt.get(ch)
#dipole
dip = Dipole(obt, type='total', K_CMB=True)
d = dip.get(ch, vec)
#plot
import matplotlib.pyplot as plt
plt.plot(obt, d, label='channel %s' % ch.tag)
plt.xlabel('OBT[s]'); plt.ylabel('Dipole K_CMB'); plt.grid()
Jump to Line
Something went wrong with that request. Please try again.