added warning if science set science frame is not prepared
added function to get slice from mask arc