PC 807. A magistrate is an officer having power to issue a warrant for the arrest of a person charged with a public offense.
PC 808. The following persons are magistrates:
1. The judges of the Supreme Court.
2. The judges of the courts of appeal.
3. The judges of the superior courts.