Wiktionary
n. Any of the toadfishes of genus (taxlink Porichthys genus noshow=1), distinguished by photophores and four lateral lines, typically nocturnal, and noted for a hum produced by males during the breeding season.
Wikipedia
Midshipman fish belong to the genus Porichthys of toadfishes. They are distinguished by having photophores (which they use to attract prey and after which they are named, reminding some of a naval uniform's buttons) and four lateral lines. Typical midshipman fishes, such as the plainfin midshipman (Porichthys notatus), are nocturnal and bury themselves in sand or mud in the intertidal zone during the day. At night they float just above the seabed. Some species have venomous dorsal spines and are capable of inflicting serious injuries if handled.
There are three genders of midshipman fish: females, type I males, and type II males. Type I and type II males have different reproductive strategies, and can be distinguished from each other based on physical characteristics. Type I males are eight times larger in body mass, and have much larger vocal organs. Type II males’ reproductive organs are seven times larger in size than those of type I males. Female and type II male midshipman fish can be distinguished from each other by the female’s slightly larger size, and the type II male midshipman’s large reproductive organs.