工部大学校
In 1872, she married her cousin, the noted scientist William Edward Ayrton, an Edinburgh student, and a distinguished pupil of Sir William Thomson. Early in the following year, she obtained a certificate in midwifery from the London Obstetric Society, the only medical qualification then obtainable by women in England. Shortly afterwards she accompanied her husband to Japan, where he had been appointed to a professorship in the Imperial College of Engineering in Tokyo.