AS=AstSpec
AstSpec.get_galspec
S=AstSpec.get_galspec('QSO_NIR');
plot(S)
S=AstSpec.get_pickles
S=AstSpec.get_pickles('g','v');
stairs(S);
S=AstSpec.get_gaia_synspec(5000,0,0,0);
plot(S)
AstS=AstSpec.blackbody([5000;10000]);
plot(AstS);
set(gca,'YS','log','XS','log')
WaveRange = (2000:100:10000)';
AstS=blackbody(5000,WaveRange,'ph/A');
plot(AstSpec.zodiac_spectrum);
S=AstSpec.get_pickles;
W=(5000:10:6000)';
S=interp(S,W);
plot(S(1:3))
S=resample(S,'log')
S=AstSpec.get_pickles;
S=interp(S,S(1).Wave);
arith(S,S(1),@minus);
S=AstSpec.get_pickles;
AstS=astspec_fun2(S(1:2),S(1),'Int',@plus);
AstS=astspec_fun1(S(1:3),'all',@sin);
AstS=astspec_fun1(S(1:3),'notwave',@sin);
S=AstSpec.get_pickles;
Mean = S.fun_scalar(@mean)
S=AstSpec.get_pickles;
mean(S);
median(S);
integral(S);
S=AstSpec.get_pickles;
[Mag,Flag,EffW]=synphot(S,'SDSS','r','AB');
S1=arith(S,10.^(0.4.*(Mag-(-20))),@times);
plot(S(1));
hold on;
plot(S1(1))
S=AstSpec.get_pickles('g','v');
S=S(1);
plot(S);
hold on;
Sm = medfilt1(S,10);
plot(Sm)
hold on;
Sl = filter_lines(S)
plot(Sl)
legend('Original','medfilt1','filter\_lines')
axis([6000 7000 0.6 0.9]);
S=AstSpec.get_pickles('g','v');
S=S(1);
plot(S);
hold on;
S = filter_lines(S);
plot(S);
hold on;
[Fit,Sbb]=fit_bb(S);
hold on;
plot(Sbb)
Fit
The class AstSpec has no Constant property or Static method named 'mlx'.