@@ 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): |
@@ 323-346 (lines=24) @@ | ||
320 | return proxy |
|
321 | ||
322 | ||
323 | def _default_proxy_config(tfmt="jyear"): |
|
324 | from .load_data import load_dailymeanLya, load_dailymeanAE |
|
325 | proxy_config = {} |
|
326 | # Lyman-alpha |
|
327 | plyat, plyadf = load_dailymeanLya(tfmt=tfmt) |
|
328 | proxy_config.update({ |
|
329 | "Lya": { |
|
330 | "times": plyat, |
|
331 | "values": plyadf["Lya"], |
|
332 | "lifetime_scan": 0, |
|
333 | "positive": False, |
|
334 | } |
|
335 | }) |
|
336 | # AE index |
|
337 | paet, paedf = load_dailymeanAE(name="GM", tfmt=tfmt) |
|
338 | proxy_config.update({ |
|
339 | "GM": { |
|
340 | "times": paet, |
|
341 | "values": paedf["GM"], |
|
342 | "lifetime_scan": 60, |
|
343 | "positive": True, |
|
344 | } |
|
345 | }) |
|
346 | return proxy_config |
|
347 | ||
348 | ||
349 | def trace_gas_modelset(constant=True, freqs=None, proxy_config=None, **kwargs): |