Let ##S\sim T,X,Y,Z## be stationary coordinates with a source of light at ##(X,Y,Z)=0## and let ##S'\sim t,x,y,z## be the coordinates in an accelerated frame with relative acceleration ##=g## along the ##x## direction for both systems.
$$\begin{eqnarray*}
T&=&xsinh(gt)\\
X&=&xcosh(gt)...