I want to find a basis of the space of modular forms of weight one $M_1(\Gamma_0(4), \chi)$, where $\chi$ is the character $\chi(d)=\Big(\frac{-1}{d} \Big)$, and
$$\Gamma_0(4)=\Big\lbrace \begin{pmatrix} a &b \\ c & d \end{pmatrix} \in SL_2(\mathbb{Z}) : \begin{pmatrix} a &b \\ c & d \end{pmatrix} \equiv \begin{pmatrix} * & * \\ 0 & * \end{pmatrix} \text{mod } N \Big\rbrace. $$
I would like to prove this as directly as possible. For example, I can not use the general formula for the dimension of $M_k(\Gamma)$ for a congruence subgroup $\Gamma \subseteq SL_2(\mathbb{Z})$*.
I know that $E_{1, \chi} = 1/4 \ + \ \sum_{n=1}^{\infty}\big(\sum_{d | n} \chi(d)\big)e(nz) \in M_1(\Gamma_0(4), \chi)$, where $e(nz)=\text{exp}(2\pi n z)$. I have also been able to show that $\text{dim} \ M_1(\Gamma_0(4), \chi) \leq 2$, but I do not know if the dimension is two or one. If it is two, I would like to find another element of the basis.
EDIT: Looking in the database LMFDB here I know that $M_1(\Gamma_0(4), \chi)$ has dimension 1, but I do not know how to prove this directly.
Thanks in advance.
MagmaorSageMathyet? – Somos Jun 06 '23 at 03:04