---
title: "Weight Half Forms"
canonical: "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/weight-half-forms.html"
source: "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/weight-half-forms.md"
part: "Modular Arithmetic Geometry"
chapter: "Modular Forms"
breadcrumbs:
  - {"title": "Magma Handbook", "source": "https://docs.magma-maths.org/v2.30-1/index.md"}
  - {"title": "Modular Arithmetic Geometry", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/index-modular-arithmetic-geometry.md"}
  - {"title": "Modular Forms", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/index-modular-forms.md"}
prev: {"title": "Eisenstein Series", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/eisenstein-series.md"}
next: {"title": "Weight One Forms", "source": "https://docs.magma-maths.org/v2.30-1/ModularArithmeticGeometry/ModularForms/weight-one-forms.md"}
intrinsics:
  - {"name": "WeightOneHalfData", "signature": "WeightOneHalfData(M): ModFrm -> List"}
---

# Weight Half Forms

Modular forms of weight $1/2$ are constructed directly as $q$-expansions following the explicit description given by Serre and Stark (see [[SS77](https://docs.magma-maths.org/v2.30-1/references.md#cite-serrestark)]).

<a id="function-weightonehalfdata-modfrm-2"></a>
## `WeightOneHalfData(M): ModFrm -> List`

For a space $M$ of modular forms of weight $1/2$, this returns the basis of the space as described by Serre and Stark. A list of tuples is returned; each tuple contains a character $\psi$ and an integer $t$, and the corresponding modular form is the theta series defined as the sum over all integers $n$ of $\psi(n) q^{(t n^2)}$.
