%%file custom.css
body {
font-size: 160%;
font-family: Lato, Ariel, sans-serif !important;
}
div.slides {
margin-top: -7%;
}
.left {
width: 49%;
float: left;
}
.right {
width: 49%;
float: right;
}
.centre {
text-align: center;
}
h2 {
text-align: center;
}
div.prompt {
display: none;
}
div.highlight {
font-size: 85%; /* This Seems to give an approximate 80char line at 1024 */
}
div.output_html {
font-size: 85%;
}
div.output_subarea {
max-width: 100%; !important
}
div.output_png {
text-align: center;
}
li {
padding-top: 1em !important;
}
ul.logos {
margin: 0px;
padding: 0px;
width: 100%;
}
ul.logos li {
list-style: none;
height:150px;
}
Overwriting custom.css
Plan:
Why Python?
What Can it DO?!
Contribution
"A Project to facilitate and promote the use and development of a community-led, free and open-source solar data-analysis software based on the scientific Python environment."
A library designed to provide core functionality to enable people to do solar physics with Python.
A community of solar physicists doing science using Python.
%matplotlib inline
import matplotlib.pyplot as plt
import sunpy.data
import sunpy.map
from sunpy.data.sample import AIA_171_ROLL_IMAGE
import astropy.units as u
# Create a AIA 171 Map from some sample data
mymap = sunpy.map.Map(AIA_171_ROLL_IMAGE)
# Create a larger than normal figure
fig = plt.figure(figsize=(8,6))
# Plot the AIA Map object
im = mymap.plot()
# Overlay the Heliographic Coordinate Grid
l = mymap.draw_grid()
from sunpy.net import vso
vc = vso.VSOClient()
results = vc.query(vso.attrs.Time('2015/3/1T00:00:25', '2015/3/1T00:00:30'),
vso.attrs.Instrument('AIA') | vso.attrs.Instrument('HMI'))
results
Start Time [1] | End Time [1] | Source | Instrument | Type |
---|---|---|---|---|
string152 | string152 | string24 | string24 | string64 |
2015-03-01 00:00:25 | 2015-03-01 00:00:26 | SDO | AIA | FULLDISK |
2015-03-01 00:00:26 | 2015-03-01 00:00:27 | SDO | AIA | FULLDISK |
2015-03-01 00:00:30 | 2015-03-01 00:00:31 | SDO | AIA | FULLDISK |
2015-03-01 00:00:30 | 2015-03-01 00:00:31 | SDO | AIA | FULLDISK |
2015-03-01 00:00:27 | 2015-03-01 00:00:28 | SDO | HMI | FULLDISK |
2015-03-01 00:00:27 | 2015-03-01 00:00:28 | SDO | HMI | FULLDISK |
2015-03-01 00:00:27 | 2015-03-01 00:00:28 | SDO | HMI | FULLDISK |