Bugfix in get_ast_spectrum (#1413)

The parameter passed to the `LTIModel.get_ast_spectrum` method is now parsed. Also, a bug w.r.t. indexing is fixed.
37 jobs for main in 37 minutes and 6 seconds (queued for 5 seconds)
Status Name Job ID Coverage
  Sanity
passed ci setup #714003
autoscaling

00:00:18

passed verify setup.py #714002
autoscaling

00:00:13

 
  Test
passed cpp_demo 3 7 #714018
long execution time autoscaling

00:03:21

passed cpp_demo 3 8 #714019
long execution time autoscaling

00:03:14

passed cpp_demo 3 9 #714020
long execution time autoscaling

00:02:58

passed mpi 3 7 #714004
autoscaling long execution time

00:15:39

passed mpi 3 8 #714005
long execution time autoscaling

00:15:08

passed mpi 3 9 #714006
long execution time autoscaling

00:15:34

passed numpy_git 3 9 #714016
long execution time autoscaling

00:31:50

passed oldest 3 7 #714017
long execution time autoscaling

00:35:03

passed pip_installed 3 7 #714007
long execution time autoscaling

00:31:14

passed pip_installed 3 8 #714008
long execution time autoscaling

00:31:37

passed pip_installed 3 9 #714009
long execution time autoscaling

00:30:58

passed tutorials 3 7 #714010
long execution time autoscaling

00:01:55

passed tutorials 3 8 #714011
long execution time autoscaling

00:02:01

passed tutorials 3 9 #714012
long execution time autoscaling

00:01:56

passed vanilla 3 7 #714013
long execution time autoscaling

00:28:44

passed vanilla 3 8 #714014
long execution time autoscaling

00:28:26

passed vanilla 3 9 #714015
long execution time autoscaling

00:30:24

 
  Build
passed binder base image #714021
docker-in-docker autoscaling

00:03:00

passed docs build 3 7 #714023
mike

00:09:59

passed docs build 3 8 #714024
mike

00:09:46

passed docs build 3 9 #714025
mike

00:09:26

passed sdist_and_wheel #714022
autoscaling

00:00:31

 
  Install Checks
passed from source 1/3 #714026
mike

00:02:17

passed from source 2/3 #714027
mike

00:02:04

passed from source 3/3 #714028
mike

00:01:58

passed from wheel 1/3 #714030
mike

00:03:43

passed from wheel 2/3 #714031
mike

00:03:27

passed from wheel 3/3 #714032
mike

00:03:40

passed local docker #714029
docker-in-docker autoscaling

00:02:54

 
  Deploy
passed docs #714038
mike

00:01:33

passed pypi #714037
autoscaling

00:00:47

passed submit coverage #714033
autoscaling

00:00:49

passed trigger_binder 1/3 #714034
autoscaling

00:00:32

passed trigger_binder 2/3 #714035
autoscaling

00:00:30

passed trigger_binder 3/3 #714036
autoscaling

00:00:35