populate#
Create an RGB image matrix of the observation using objects found by
skysim.query and image configuration from an
ImageSettings object.
Constants#
Minimum brightness for an object. |
Functions#
High-Level Functions#
|
Primary function for the populate module. |
Low-Level Functions#
|
Initialize an empty image array. |
|
Calculate the number of seconds since midnight for some time value. |
Get the background colour for the image based on the colour-time mapping. |
|
|
Get the maximum magnitude value visible for a current time. |
|
Fill an RGB image with a colour. |
|
Filter a table of objects by the maximum magitude that can be seen. |
|
Filter a table of objects by their distance to a point. |
|
Magnitude to flux conversion (relative to some reference value). |
|
Generic function to linearly scale data between some minimum and maximum. |
|
Add a new column to |
|
Check if an xy pixel is in a square frame of size |
|
Add a celestial object to the image. |
|
Pickle-able function to call |
|
Converts the star and planet tables into a single combined unit for a given frame. |