@@ 406-429 (lines=24) @@ | ||
403 | ) |
|
404 | ||
405 | ||
406 | def _default_proxy_config(tfmt="jyear"): |
|
407 | from .load_data import load_dailymeanLya, load_dailymeanAE |
|
408 | proxy_config = {} |
|
409 | # Lyman-alpha |
|
410 | plyat, plyadf = load_dailymeanLya(tfmt=tfmt) |
|
411 | proxy_config.update({"Lya": { |
|
412 | "times": plyat, |
|
413 | "values": plyadf["Lya"], |
|
414 | "center": False, |
|
415 | "positive": False, |
|
416 | "lifetime_scan": 0, |
|
417 | }} |
|
418 | ) |
|
419 | # AE index |
|
420 | paet, paedf = load_dailymeanAE(name="GM", tfmt=tfmt) |
|
421 | proxy_config.update({"GM": { |
|
422 | "times": paet, |
|
423 | "values": paedf["GM"], |
|
424 | "center": False, |
|
425 | "positive": True, |
|
426 | "lifetime_scan": 60, |
|
427 | }} |
|
428 | ) |
|
429 | return proxy_config |
|
430 | ||
431 | ||
432 | def trace_gas_model(constant=True, freqs=None, proxy_config=None, **kwargs): |
@@ 343-366 (lines=24) @@ | ||
340 | return proxy |
|
341 | ||
342 | ||
343 | def _default_proxy_config(tfmt="jyear"): |
|
344 | from .load_data import load_dailymeanLya, load_dailymeanAE |
|
345 | proxy_config = {} |
|
346 | # Lyman-alpha |
|
347 | plyat, plyadf = load_dailymeanLya(tfmt=tfmt) |
|
348 | proxy_config.update({ |
|
349 | "Lya": { |
|
350 | "times": plyat, |
|
351 | "values": plyadf["Lya"], |
|
352 | "lifetime_scan": 0, |
|
353 | "positive": False, |
|
354 | } |
|
355 | }) |
|
356 | # AE index |
|
357 | paet, paedf = load_dailymeanAE(name="GM", tfmt=tfmt) |
|
358 | proxy_config.update({ |
|
359 | "GM": { |
|
360 | "times": paet, |
|
361 | "values": paedf["GM"], |
|
362 | "lifetime_scan": 30, |
|
363 | "positive": True, |
|
364 | } |
|
365 | }) |
|
366 | return proxy_config |
|
367 | ||
368 | ||
369 | def trace_gas_modelset(constant=True, freqs=None, proxy_config=None, **kwargs): |