i am learning this Stanford course
the professor is saying
x-ray in the hospital is a digital image rather than a physical piece of film
it seems that "rather than" could be substituted by "instead of" in this sentence.
are "rather than" and "instead of" exchangeable?