from pptx import Presentation
from pptx.util import Inches, Pt
# Create a presentation object
prs = Presentation()
# Define slide layouts
title_slide_layout = prs.slide_layouts[0]
content_slide_layout = prs.slide_layouts[1]
# Title Slide
slide = prs.slides.add_slide(title_slide_layout)
title = slide.shapes.title
title.text = "Headache: Types and Imaging of Headache"
subtitle = slide.placeholders[1]
subtitle.text = "Lecture for 4th Year Radiology Technology Students"
# Helper function to add content slides
def add_slide(title_text, content_lines, image_path=None):
slide = prs.slides.add_slide(content_slide_layout)
title = slide.shapes.title
content = slide.placeholders[1]
title.text = title_text
tf = content.text_frame
for line in content_lines:
p = tf.add_paragraph()
p.text = line
p.font.size = Pt(20)
if image_path:
slide.shapes.add_picture(image_path, Inches(5), Inches(2), Inches(4), Inches(3))
# Slides with optional image placeholders
add_slide("Learning Objectives", [
"Classify common types of headache",
"Recognize red-flag symptoms",
"Choose appropriate imaging modality",
"Interpret imaging findings in secondary headaches"
])
add_slide("Introduction", [
"Headache: common neurological complaint",
"Primary vs Secondary headaches",
"Radiology role: mainly in secondary headaches"
])
add_slide("Classification", [
"Primary headaches: Migraine, Tension-type, Cluster",
"Secondary headaches: Hemorrhage, Tumor, Infection, Vascular, Others"
])
add_slide("Primary Headaches – Migraine", [
"Unilateral, pulsating pain",
"Photophobia, aura possible",
"Imaging usually normal",
"MRI if atypical presentation"
], image_path="images/migraine_mri.jpg")
add_slide("Primary Headaches – Tension-type", [
"Bilateral, pressure-like",
"Stress-related",
"No imaging unless red flags"
])
add_slide("Primary Headaches – Cluster", [
"Severe orbital/temporal pain",
"Autonomic symptoms (lacrimation, rhinorrhea)",
"MRI brain and pituitary recommended"
], image_path="images/cluster_mri.jpg")
add_slide("Secondary Headaches", [
"Important for radiology",
"Causes include hemorrhage, tumor, infection, vascular abnormalities"
])
add_slide("Intracranial Hemorrhage", [
"Thunderclap headache",
"Imaging: Non-contrast CT first line",
"CT/MR angiography for aneurysm"
], image_path="images/sah_ct.jpg")
add
Neuroscience-Backed Wealth Building
🧠 Neuroscience-Backed Wealth Building Your brain is already wired to build wealth—but 97% of people sabotage it with these 3 'money mindset' myths. (Hint: It's NOT about 'vibrations' or 'effortless abundance.') I'm Dr. Lena Chen, a behavioral neuroscientist who's studied real wealth creators for 12 years. Today, I'll show you the only 3 brain-based strategies that actually work—backed by Harvard research, not hype. — Dr. Lena Chen, Behavioral Neuroscientist & Wealth Psychology Expert ❌ The 3 Deadly Money Mindset Myths (Debunked by Science) Before we dive into what actually works, let's expose the dangerous myths that keep 97% of people broke. These aren't just wrong—they're neurologically destructive . ❌ The Myth ✅ The Neuroscience Reality 🎯 Action Step (Do This Today) "Just 'man...
Comments