Let πΎ=β(π) be a number field of degree π.
Then πΎ has π distinct field embeddings ππ:πΎβͺβ into Complex numbers, which are either real or unreal.
Moreover, the unreal embeddings come in conjugate pairs.
We label the embeddings such that π1,β¦,ππ1 are the real embeddings
and π1,β¦,ππ2 are representatives of conjugate pairs of unreal embeddings.
Then
π=π1+2π2
and (π1,π2) is called the signature of πΎ.
Sage
Given a number field K, we can get the signature using K.signature().