Class: HarmonixModel
Bases: SourceModel
Wrapper for external source models with harmonix-like visibility methods.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
source
|
object
|
External model. |
required |
visibility_method
|
str
|
Name of the visibility method (default |
'model'
|
render_method
|
str
|
Name of a |
'render'
|
expects_wavelength_units
|
bool
|
If True (default), pass spatial frequencies |
True
|
observation_time
|
optional
|
Extra argument passed after the baselines, e.g. a time for rotating stars. |
None
|
Notes
source is an ordinary field, so a source that is a pytree (such as a
harmonix Harmonix, an equinox module) has parameters that zodiax
paths reach and fits can vary, e.g. "source.radius" (mas) or
"source.data" (harmonix's map coefficients for l >= 1, with
Y00 = 1). Sources that are not pytrees need eqx.filter_jit rather
than jax.jit. observation_time is static (hashable):
array-valued times are not supported under jax.jit.
A wrapped source has weight 1 inside a System; only harmonix stars can be drawn there.