An Invercargill woman charged with the attempted murder of a baby has been found not guilty by way of insanity.

Sucharitta Milton, who until today had interim name suppression, appeared before Justice Graham Panckhurst at the High Court in Invercargill this morning.

Her lawyer Tim Fournier applied for the order of insanity under the Criminal Procedure (Mentally Impaired Persons) Act.

Several people sat in the public gallery to support Milton, who sat at a table beside the dock.

Justice Panckhurst said Milton had been suffering from postpartum psychosis and delusional hallucinations when the attack occurred.

"I am entirely satisfied you suffered from a serious and debilitating disease of the mind."

He also concluded Milton, 32, at the time of the incident, did not understand the moral of her actions.

Justice Panckhurst ordered her to undergo a community treatment order, with details to be discussed at a later date.