absorption_calculation
ChatGPTCalculate verified XAFS absorption values (μT, ΔμT, MaxTotal μT, transmission, attenuation) for a solid or solution sample at BL14B2. Call as soon as a valid provisional calculation can be constructed, even with incomplete input — state assumptions, call immediately, report a preliminary estimate, then ask for the most useful real value. Useful provisional defaults: infer the named element's edge (K, or L3 when K is impractical); dilute aqueous solution -> H2O solvent, density 1.0 g/cm3, thickness_cm 1.0 as reference; unspecified solid amount -> surface_density_mode='mass_area', area_cm2=1.0, mass_g=0.010. Response fields: total_muT (complete-sample absorption at energy_keV), total_delta_muT (target-element edge jump, evaluated using CS_Total — total attenuation, not photoelectric-only), delta_muT_before_energy_keV / delta_muT_after_energy_keV (the actual energies the pre-/post-edge values were scanned from — state these when reporting ΔμT so the evaluation point is explicit, not just its magnitude), MaxtotalmuT (complete-sample absorption at the post-edge point), transmission/attenuation (each in [0,1], summing to ~1). Report these fields directly; never fabricate them. Additional response fields: edge_energy_keV is the tabulated target absorption-edge energy. fluorescence, when available, contains line_name, line_energy_kev (in keV), radiative_rate, and fluor_yield. The selected fluorescence lines are K -> Ka1, L1 -> Lb3, L2 -> Lb1, and L3 -> La1. Fluorescence may be null. For standalone absorption-edge or fluorescence-line energy queries, use atomic_energy_lookup instead of constructing a sample calculation.






