There were many of these films, all bearing the same tropes, and all focused intensely on one female lead, who spends the movie in constant fear, living in a creepy house with a controlling husband, suffering a diagnoses of madness, and facing imaginary rivals and forces that seem to specific to her.
As an example of this form, The Snake Pit reached even further into the darks by controversially showing an institutionalised women, played by Olivia de Havilland, at the hands of a brutal psychiatric system, being given electro-shock therapy as a part of her 'treatment'.
Brutal is an apt enough term to describe what passed for a psychiatric system at the time. Although the methodology is now barbaric and out of date, film noir always did have a fascination with Freud, and with analysis, as new ways of interpreting and expressing social roles, behaviours and problems.