galaxy analysis