It is so unbelievable that the writers, producer, and director of "Top Gun" all made the same mistake. That of calling Kelly McGillis's character, Charlotte "Charlie" Blackwood, an "Astrophysicist".
An Astrophysicist is a type of astronomer. Neil deGrasse Tyson is an Astrophysicist. Carl Sagan was an Astrophysicist. Stephen Hawkin is an Astrophysicist. Astrophysicists have nothing to do with aviation.
"Charlie" should have been an Aeronautical Engineer, an Aeronautical Engineer who deals with Human Performance, or a Flight Surgeon.
I think they were confused by the prefix "Astro"