Planetary impact crater analysis with eigenfunction expansion