<s> from astropy . io import fits <EOL> from hyperion . model import ModelOutput <EOL> from hyperion . util . constants import pc <EOL> m = ModelOutput ( '<STR_LIT>' ) <EOL> image = m . get_image ( inclination = <NUM_LIT:0> , distance = <NUM_LIT> * pc , units = '<STR_LIT>' ) <EOL> fits . writeto ( '<STR_LIT>' , image . val . swapaxes ( <NUM_LIT:0> , <NUM_LIT:2> ) . swapaxes ( <NUM_LIT:1> , <NUM_LIT:2> ) , <EOL> clobber = True ) <EOL> fits . writeto ( '<STR_LIT>' , image . val [ : , : , <NUM_LIT:1> ] , clobber = True ) </s>
