let's prepare!!!!
cd /tmp/workspace/attachments/48499e8b-d848-45af-9c30-50fcc0df1c05/ && python3 -c " import pdfplumber with pdfplumber.open('7. Brain Meninges.pdf') as pdf: print(f'Total pages: {len(pdf.pages)}') for i, page in enumerate(pdf.pages): text = page.extract_text() print(f'--- PAGE {i+1} ---') print(text) print() "
python3 -c " from pypdf import PdfReader import base64 reader = PdfReader('/tmp/workspace/attachments/48499e8b-d848-45af-9c30-50fcc0df1c05/7. Brain Meninges.pdf') print(f'Pages: {len(reader.pages)}') print(f'Metadata: {reader.metadata}') # Try extracting images for i, page in enumerate(reader.pages): print(f'Page {i+1} resources: {list(page.get(\"/Resources\", {}).keys()) if page.get(\"/Resources\") else \"none\"}') # Check for XObjects (images) resources = page.get('/Resources') if resources: xobjects = resources.get('/XObject') if xobjects: print(f' XObjects: {list(xobjects.keys())}') "
python3 -c " from pypdf import PdfReader from PIL import Image import io, os reader = PdfReader('/tmp/workspace/attachments/48499e8b-d848-45af-9c30-50fcc0df1c05/7. Brain Meninges.pdf') os.makedirs('/tmp/workspace/meninges_imgs', exist_ok=True) for i, page in enumerate(reader.pages): resources = page.get('/Resources') if resources: xobjects = resources.get('/XObject') if xobjects: for j, (name, obj) in enumerate(xobjects.items()): img_obj = obj.get_object() if img_obj.get('/Subtype') == '/Image': data = img_obj.get_data() filter_type = img_obj.get('/Filter') width = img_obj.get('/Width') height = img_obj.get('/Height') print(f'Page {i+1} {name}: {width}x{height}, filter={filter_type}, size={len(data)} bytes') # Save as image fname = f'/tmp/workspace/meninges_imgs/page{i+1}_{name[1:]}.jpg' try: img = Image.open(io.BytesIO(data)) img.save(fname) print(f' Saved as {fname}') except Exception as e: # Try saving raw with open(fname, 'wb') as f: f.write(data) print(f' Raw saved: {e}') "
python3 -c " from PIL import Image import os # Convert images to a format we can serve - check their sizes imgs = os.listdir('/tmp/workspace/meninges_imgs') for img in sorted(imgs): path = f'/tmp/workspace/meninges_imgs/{img}' im = Image.open(path) print(f'{img}: {im.size}, mode={im.mode}') "
Pia mater β Arachnoid β Dura mater
Skin Β· Connective tissue Β· Aponeurosis (epicranial) Β· Loose areolar tissue Β· Pericranium

| Space | Boundaries | Type | Contents / Clinical |
|---|---|---|---|
| Epidural (extradural) | Between skull and outer periosteal dura | Potential space | Middle meningeal artery - rupture β epidural hematoma |
| Subdural | Between inner meningeal dura and arachnoid | Potential space | Bridging veins - rupture β subdural hematoma |
| Subarachnoid | Between arachnoid and pia | Real, CSF-filled | CSF + major cerebral arteries; enlarged regions = cisterns |
Key distinction: Epidural = arterial bleed (fast). Subdural = venous bleed (slow/chronic). Subarachnoid = SAH (ruptured aneurysm - "thunderclap headache").

| Fold | Location | Separates | Attached to |
|---|---|---|---|
| Falx cerebri | Interhemispheric fissure | Right & left cerebral hemispheres | Crista galli (anteriorly) β internal occipital protuberance (posteriorly) |
| Tentorium cerebelli | Horizontal, above cerebellum | Supratentorial / infratentorial | Petrous temporal bone + occipital bone |
| Falx cerebelli | Between cerebellar hemispheres | Right & left cerebellum | - |
| Diaphragma sellae | Covers the sella turcica | Pituitary from CSF | - |

| Cistern | Location | Clinical relevance |
|---|---|---|
| Cisterna magna (cerebellomedullary cistern) | Between cerebellum and medulla | Lumbar puncture alternative |
| Pontine cistern | Anterior to pons | SAH pooling |
| Interpeduncular cistern | Between cerebral peduncles | CN III passes through |
| Chiasmatic cistern | Over optic chiasm | - |
| Condition | Key Feature | Space involved |
|---|---|---|
| Epidural hematoma | Biconvex (lens-shaped) on CT; lucid interval; temporal bone fracture | Epidural |
| Subdural hematoma | Crescent-shaped on CT; elderly, alcoholics | Subdural |
| Subarachnoid hemorrhage | "Worst headache of life"; blood in basal cisterns on CT | Subarachnoid |
| Meningitis | Inflammation of meninges; nuchal rigidity, photophobia, fever | Meninges |
| Tentorial herniation | Blown pupil (CN III compression), Cushing's triad | Tentorial notch |
| Normal pressure hydrocephalus | Wet, wacky, wobbly triad; impaired CSF reabsorption | Ventricles/subarachnoid |
Dura, Arachnoid, Pia (mnemonic: DAP outside-in, or PAD inside-out)
Subarachnoid space
Foramen spinosum
Epidural = middle meningeal artery; Subdural = bridging veins
Right and left cerebral hemispheres (runs in the interhemispheric fissure)
The midbrain
Supratentorial = cerebral hemispheres (above tentorium). Infratentorial = brainstem + cerebellum (below).
Project into the superior sagittal sinus
Meningeal layer. Folds: falx cerebri, tentorium cerebelli, falx cerebelli, diaphragma sellae
The uncus (medial temporal lobe) herniates through the tentorial notch β compresses CN III β ipsilateral dilated (blown) pupil + ptosis