Finding coefficient of exponent in an expression

I am trying to find coefficient of an exponent term in an expression. For example, consider

in: tt = E^(I T0 ( \[Sigma] + Subscript[\[Omega], 1]))

Doing

in: Coefficient[tt, E^(
I T0 (\[Sigma] + Subscript[\[Omega], 1]))]

out: 1

gives 1. However,

in: Coefficient[tt, E^(I T0 \[Sigma])]

out: 0

this returns 0. How do I obtain e^{i*T0*\sigma} as output instead of 0?

I thought PowerExpand will work, but it also did not. I couldn’t find the command to expand exponents

Please repost the code in Mathematica input form.

Sure!

Crossposted on MSE.

I only did it :slight_smile: