I have the integral
${\operatorname{Im}} \left (\int^\infty_0 e^{ix} x^{s-1} \, \mathrm{d} x \right)$
and I wish to redefine $x \to iy$ but I am unsure of how to justify this using contour integration arguments. I would be very grateful for any help. Thanks.