TimeEvolvingRegion#

class jetset.jet_timedep.TimeEvolvingRegion(temp_ev, jet, region_type, build_cached=True)[source]#

Bases: object

Region-level view of a time-dependent JetSeT evolution run.

Notes

Manages cached SED slices, time-indexed particle distributions, and region state updates (acc or rad) for plotting and analysis workflows.

Attributes Summary

mult_factor

Mult factor.

num_seds

Num seds.

region_type

Region type.

Methods Summary

build_cached_SEDs()

Build cached se ds.

eval_R_cross_time(t_blob, lc[, R, n_slices])

Evaluate r cross time.

eval_R_cross_time_no(lc, R[, n_slices])

Evaluate r cross time no.

get_SED(comp, frame[, time_slice, ...])

Return sed.

make_lc(nu1[, nu2, comp, t1, t2, ...])

Make lc.

set_time([time_slice, time, frame])

Set time.

Attributes Documentation

mult_factor#

Mult factor.

Returns:

Requested value.

Return type:

object

num_seds#

Num seds.

Returns:

Requested value.

Return type:

object

region_type#

Region type.

Returns:

Requested value.

Return type:

object

Methods Documentation

build_cached_SEDs()[source]#

Build cached se ds.

static eval_R_cross_time(t_blob, lc, R=None, n_slices=1000)[source]#

Evaluate r cross time.

Parameters:
  • t_blob (object) – Time-related value for t blob.

  • lc (object) – Parameter controlling lc.

  • R (object, optional) – Parameter controlling r.

  • n_slices (int, optional) – Parameter controlling n slices.

Returns:

Computed result.

Return type:

object

eval_R_cross_time_no(lc, R, n_slices=1000)[source]#

Evaluate r cross time no.

Parameters:
  • t_blob (object) – Time-related value for t blob.

  • lc (object) – Parameter controlling lc.

  • R (object) – Parameter controlling r.

  • n_slices (int, optional) – Parameter controlling n slices.

Returns:

Computed result.

Return type:

object

get_SED(comp, frame, time_slice=None, time_slice_bin=None, time=None, time_bin=None, use_cached=False, average=False)[source]#

Return sed.

Parameters:
  • comp (object) – Parameter controlling comp.

  • frame (object) – Reference frame for data/model values.

  • time_slice (object, optional) – Time-related value for time slice.

  • time_slice_bin (object, optional) – Time-related value for time slice bin.

  • time (object, optional) – Time-related value for time.

  • time_bin (object, optional) – Time-related value for time bin.

  • use_cached (bool, optional) – If True, enable cached.

  • average (bool, optional) – Parameter controlling average.

Returns:

Requested value.

Return type:

object

make_lc(nu1, nu2=None, comp='Sum', t1=None, t2=None, delta_t_out=None, cross_time_slices=1000, frame='obs', eval_cross_time=True, use_cached=False, R=None, name=None, density_mono_chromatic=False)[source]#

Make lc.

Parameters:
  • nu1 (object) – Frequency/energy control value for nu1.

  • nu2 (object, optional) – Frequency/energy control value for nu2.

  • comp (str, optional) – Parameter controlling comp.

  • t1 (object, optional) – Parameter controlling t1.

  • t2 (object, optional) – Parameter controlling t2.

  • delta_t_out (object, optional) – Parameter controlling delta t out.

  • cross_time_slices (int, optional) – Time-related value for cross time slices.

  • frame (str, optional) – Reference frame for data/model values.

  • eval_cross_time (bool, optional) – Time-related value for eval cross time.

  • use_cached (bool, optional) – If True, enable cached.

  • R (object, optional) – Parameter controlling r.

  • name (object, optional) – Name identifier.

  • density_mono_chromatic (bool, optional) – Parameter controlling density mono chromatic.

Returns:

Computed result.

Return type:

object

set_time(time_slice=None, time=None, frame='blob')[source]#

Set time.

Parameters:
  • time_slice (object, optional) – Time-related value for time slice.

  • time (object, optional) – Time-related value for time.

  • frame (str, optional) – Reference frame for data/model values.