model_generator.py
association_models_generator(assoc_df)
¶
Creates a generator object containing yielded Association objects from an input pipeline association dataframe.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
assoc_df | DataFrame | The dataframe from the pipeline containing the associations between measurements and sources. | required |
Returns:
Type | Description |
---|---|
Iterable[Generator[Association, None, None]] | An iterable generator object containing the yielded Association objects. |
Source code in vast_pipeline/pipeline/model_generator.py
75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
|
measurement_models_generator(meas_df)
¶
Creates a generator object containing yielded Measurement objects from an input pipeline measurement dataframe.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
meas_df | DataFrame | The dataframe from the pipeline containing the measurements of an image. | required |
Returns:
Type | Description |
---|---|
Iterable[Generator[Measurement, None, None]] | An iterable generator object containing the yielded Measurement objects. |
Source code in vast_pipeline/pipeline/model_generator.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
|
related_models_generator(related_df)
¶
Creates a generator object containing yielded Association objects from an input pipeline association dataframe.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
related_df | DataFrame | The dataframe from the pipeline containing the relations between sources. | required |
Returns:
Type | Description |
---|---|
Iterable[Generator[RelatedSource, None, None]] | An iterable generator object containing the yielded Association objects. |
Source code in vast_pipeline/pipeline/model_generator.py
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 |
|
source_models_generator(src_df, pipeline_run)
¶
Creates a generator object containing yielded Source objects from an input pipeline sources dataframe.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
src_df | DataFrame | The dataframe from the pipeline containing the measurements of an image. | required |
pipeline_run | Run | The pipeline Run object of which the sources are associated with. | required |
Returns:
Type | Description |
---|---|
Iterable[Generator[Source, None, None]] | An iterable generator object containing the yielded Source objects. |
Source code in vast_pipeline/pipeline/model_generator.py
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
|