Back to Skills

interpret-uv-vis-spectrum

pjt222
Updated Yesterday
1 views
17
2
17
View on GitHub
Othergeneral

About

This skill enables Claude to systematically interpret UV-Vis absorption spectra data. It identifies chromophores, classifies electronic transitions, applies Woodward-Fieser rules for conjugated systems, and performs quantitative analysis using the Beer-Lambert law. Use it when you need to analyze spectral data to determine molecular structure or concentration.

Quick Install

Claude Code

Recommended
Primary
npx skills add pjt222/agent-almanac -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/pjt222/agent-almanac
Git CloneAlternative
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/interpret-uv-vis-spectrum

Copy and paste this command in Claude Code to install this skill

Documentation

Interpret UV-Vis Spectrum

Read UV-visible absorption spectra. Identify chromophores. Classify electronic transitions. Predict absorption maxima for conjugated systems. Apply Beer-Lambert law for quantitative determination.

When Use

  • Identify chromophores and extent of conjugation in organic compound
  • Confirm presence of aromatic rings, conjugated dienes, enones
  • Quantitative analysis (determine concentration from absorbance)
  • Monitor reaction kinetics by tracking absorbance changes over time
  • Characterize metal-ligand complexes via d-d and charge-transfer transitions
  • Assess solvent effects on electronic transitions (solvatochromism)

Inputs

  • Required: UV-Vis spectrum data (wavelength in nm vs. absorbance or molar absorptivity)
  • Required: Solvent used for measurement
  • Optional: Concentration and path length (for Beer-Lambert calculations)
  • Optional: Molar absorptivity (epsilon) values at lambda-max
  • Optional: Spectra in multiple solvents (for solvatochromism analysis)
  • Optional: Structural info from other spectroscopic methods

Steps

Step 1: Verify Instrument Parameters and Spectrum Quality

Ensure data reliable before interpreting absorption bands:

  1. Wavelength range: Confirm spectrum covers relevant range. Standard UV-Vis spans 190-800 nm. Solvents impose low-wavelength cutoffs:
SolventUV Cutoff (nm)Notes
Water190Excellent UV transparency
Hexane195Non-polar, minimal solvent effects
Methanol205Protic, may cause blue shifts
Acetonitrile190Good general-purpose UV solvent
Dichloromethane230Absorbs below 230 nm
Chloroform245Absorbs below 245 nm
Acetone330Absorbs strongly, poor UV solvent
  1. Absorbance range: Reliable measurements need absorbance between 0.1 and 1.0. Below 0.1 = noise dominates. Above 1.0 = stray light causes non-linear response. Flag any lambda-max values outside this range
  2. Baseline and blank: Verify solvent blank subtracted. Residual solvent absorption or cuvette artifacts = rising baseline at short wavelengths
  3. Slit width: Narrow slit widths give better resolution but lower signal-to-noise. Fine structure expected (vibrational progression on electronic bands)? Confirm slit width appropriate (typically 1-2 nm)

Got: Instrument parameters documented. Solvent cutoff respected. Absorbance values within linear range. Baseline confirmed clean.

If fail: Absorbance exceeds 1.0 at lambda-max? Sample must be diluted and remeasured. Solvent absorbs in region of interest? Recommend re-acquisition in more transparent solvent.

Step 2: Identify Lambda-Max and Band Characteristics

Locate and characterize all absorption bands:

  1. Locate lambda-max values: Identify each absorption maximum (lambda-max). Record wavelength (nm) and absorbance (or molar absorptivity epsilon if known)
  2. Measure band shape: Note whether each band broad and featureless (typical of solution-phase electronic transitions) or shows vibrational fine structure (typical of rigid chromophores like polycyclic aromatics)
  3. Record shoulders: Absorption shoulders = overlapping transitions. Note approximate wavelength and intensity
  4. Classify by molar absorptivity:
epsilon (L mol-1 cm-1)Transition TypeExample
< 100Forbidden (n -> pi*)Ketone ~280 nm
100--10,000Weakly allowedAromatic 250--270 nm
10,000--100,000Fully allowed (pi -> pi*)Conjugated diene ~220 nm
> 100,000Charge transferMetal complexes, dyes

Got: All absorption maxima and shoulders tabulated with wavelength, absorbance/epsilon, qualitative band shape.

If fail: Spectrum shows no distinct maxima (monotonic rise)? Compound may lack chromophore in measured range, or concentration too low. Increase concentration or extend wavelength range.

Step 3: Classify Electronic Transitions

Assign each absorption band to specific electronic transition type:

  1. sigma -> sigma transitions* (< 200 nm): Observed only in vacuum UV. Relevant for saturated hydrocarbons and C-C/C-H bonds. Not typically measured in standard UV-Vis
  2. n -> sigma transitions* (150-250 nm): Lone pair to sigma antibonding. Observed for heteroatoms (O, N, S, halogens). Saturated amines absorb near 190-200 nm. Alcohols/ethers near 175-185 nm
  3. pi -> pi transitions* (200-500 nm): Bonding pi to antibonding pi*. Strongest absorptions for organic compounds. Intensity and wavelength increase with extended conjugation
  4. n -> pi transitions* (250-400 nm): Lone pair to pi antibonding. Formally forbidden (low epsilon, typically 10-100). Characteristic of C=O (270-280 nm for simple ketones), N=O, C=S groups
  5. Charge-transfer transitions: Electron transfer between donor and acceptor groups, or between metal and ligand. Typically very intense (epsilon > 10,000) and broad. Found in metal complexes and donor-acceptor organic molecules
  6. d-d transitions (for transition metal complexes): Weak, broad bands in visible region from crystal field or ligand field splitting

Got: Each absorption band assigned to transition type with supporting rationale (position, intensity, solvent sensitivity).

If fail: Band cannot be assigned to standard transition type? Consider charge-transfer character or possibility of impurity absorption. Multiple overlapping transitions may need deconvolution.

Step 4: Apply Woodward-Fieser Rules for Conjugated Systems

Predict lambda-max for conjugated dienes and enones. Compare with observed values:

  1. Conjugated dienes (Woodward rules):
ComponentIncrement (nm)
Base value (heteroannular diene)214
Base value (homoannular diene)253
Each additional conjugated C=C+30
Each exocyclic C=C+5
Each alkyl substituent on C=C+5
-OAcyl substituent+0
-OR substituent+6
-SR substituent+30
-Cl, -Br substituent+5
-NR2 substituent+5
  1. Alpha-beta unsaturated carbonyls (Woodward-Fieser rules):
ComponentIncrement (nm)
Base value (alpha-beta unsat. ketone, 6-ring or acyclic)215
Base value (alpha-beta unsat. aldehyde)208
Each additional conjugated C=C+30
Each exocyclic C=C+5
Homoannular diene component+39
Alpha substituent (alkyl)+10
Beta substituent (alkyl)+12
Gamma and higher substituent (alkyl)+18
-OH (alpha)+35
-OH (beta)+30
-OAc (alpha, beta, gamma)+6
-OR (alpha)+35
-OR (beta)+30
-Cl (alpha)+15
-Cl (beta)+12
-Br (beta)+25
-NR2 (beta)+95
  1. Calculate predicted lambda-max: Sum base value and all applicable increments
  2. Compare with observed: Agreement within +/- 5 nm supports proposed chromophore. Deviations > 10 nm = incorrect structural assignment or strong solvent/steric effects

Got: Predicted lambda-max calculated and compared with observed value, supporting or refuting proposed chromophore structure.

If fail: Predicted and observed values disagree significantly? Re-examine assumed chromophore structure. Common errors: miscounting substituents, overlooking exocyclic double bond, applying wrong base value (homoannular vs. heteroannular).

Step 5: Apply Beer-Lambert Law for Quantitative Analysis

Use absorbance data for concentration determination or molar absorptivity characterization:

  1. Beer-Lambert equation: A = epsilon * b * c, where A = absorbance (dimensionless), epsilon = molar absorptivity (L mol-1 cm-1), b = path length (cm), c = concentration (mol L-1)
  2. Determine molar absorptivity: Concentration and path length known? Calculate epsilon from measured absorbance at lambda-max
  3. Determine concentration: epsilon known (from literature or calibration curve)? Calculate concentration from measured absorbance
  4. Check linearity: Beer-Lambert law valid only in linear range (typically A = 0.1-1.0). At higher absorbances, deviations from stray light, molecular interactions, instrumental limitations
  5. Assess solvent effects: Compare spectra in polar vs. non-polar solvents:
    • Bathochromic (red) shift: lambda-max moves to longer wavelength. pi -> pi* transitions red-shift in more polar solvents. n -> pi* transitions red-shift in less polar solvents
    • Hypsochromic (blue) shift: lambda-max moves to shorter wavelength. n -> pi* transitions blue-shift in more polar/protic solvents (hydrogen bonding stabilizes lone pair ground state)
    • Hyperchromic/hypochromic effects: Increase or decrease in epsilon without wavelength change

Got: Quantitative results calculated with appropriate significant figures. Linearity verified. Solvent effects documented if spectra in multiple solvents available.

If fail: Beer-Lambert linearity fails? Check for sample degradation, aggregation at high concentration, fluorescence interference. Dilute sample and remeasure to confirm.

Checks

  • Solvent cutoff respected and absorbance within linear range (0.1-1.0)
  • All lambda-max values and shoulders tabulated with wavelength, absorbance, epsilon
  • Each absorption band assigned to electronic transition type
  • Woodward-Fieser calculation performed where applicable and compared with observed lambda-max
  • Beer-Lambert law applied correctly with verified linearity
  • Solvent effects characterized if multi-solvent data available
  • Chromophore assignment consistent with molecular structure from other spectroscopic methods

Pitfalls

  • Measure above A = 1.0: High absorbance values unreliable due to stray light effects. Always dilute and remeasure if lambda-max absorbance exceeds 1.0.
  • Ignore solvent cutoff: Interpreting absorptions below solvent cutoff wavelength makes artifacts, not real sample data.
  • Confuse transition types by intensity alone: Weak band near 280 nm could be n -> pi* transition of carbonyl or forbidden pi -> pi* of aromatic. Context and solvent effects needed to distinguish them.
  • Misapply Woodward-Fieser rules: Empirical rules apply only to conjugated dienes and alpha-beta unsaturated carbonyls. Cannot be used for aromatic systems, isolated chromophores, metal complexes.
  • Neglect impurity absorption: Even small amounts of strongly absorbing impurity can dominate spectrum. lambda-max not matching expectations? Consider impurity contributions.
  • Assume one band = one transition: Broad UV-Vis bands often contain multiple overlapping transitions. Band deconvolution may be needed for accurate assignment.

See Also

  • interpret-nmr-spectrum — determine molecular connectivity to support chromophore identification
  • interpret-ir-spectrum — identify functional groups contributing to chromophore
  • interpret-mass-spectrum — establish molecular formula and detect conjugation via fragmentation
  • interpret-raman-spectrum — complementary vibrational data for symmetric chromophores
  • plan-spectroscopic-analysis — select and sequence spectroscopic techniques before data acquisition

GitHub Repository

pjt222/agent-almanac
Path: i18n/caveman/skills/interpret-uv-vis-spectrum
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

Related Skills

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

cost-optimization

Other

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

View skill

quantizing-models-bitsandbytes

Other

This skill quantizes LLMs to 8-bit or 4-bit precision using bitsandbytes, achieving 50-75% memory reduction with minimal accuracy loss. It's ideal for running larger models on limited GPU memory or accelerating inference, supporting formats like INT8, NF4, and FP4. The skill integrates with HuggingFace Transformers and enables QLoRA training and 8-bit optimizers.

View skill

dispatching-parallel-agents

Other

This Claude Skill dispatches multiple agents to investigate and fix 3+ independent problems concurrently. It is designed for scenarios involving unrelated failures that can be resolved without shared state or dependencies. The core capability is parallel problem-solving, assigning one agent per independent problem domain to maximize efficiency.

View skill