#include <vector>
#include <string>
Go to the source code of this file.
|
| void | readXYZCoordinates (const std::string &filename, std::vector< double > &x_m, std::vector< double > &y_m, std::vector< double > &z_m) |
| | Reads XYZ coordinates from a CSV file.
|
| |
| void | readDirections (const std::string &filename, std::vector< double > &HAs, std::vector< double > &Decs) |
| | Reads HAs and Decs from a CSV file.
|
| |
| void | saveUVWCoordinates (const std::vector< std::vector< double > > &u, const std::vector< std::vector< double > > &v, const std::vector< std::vector< double > > &w, const std::string &directory) |
| | Saves UVW coordinates to CSV files in the specified directory.
|
| |
| void | saveImages (const std::vector< std::vector< double > > &images, int image_size, const std::string &directory) |
| | Saves images to CSV files in the specified directory.
|
| |
◆ readDirections()
| void readDirections |
( |
const std::string & | filename, |
|
|
std::vector< double > & | HAs, |
|
|
std::vector< double > & | Decs ) |
Reads HAs and Decs from a CSV file.
- Parameters
-
| filename | The path to the CSV file. |
| HAs | Vector to store the Hour Angles. |
| Decs | Vector to store the Declinations. |
◆ readXYZCoordinates()
| void readXYZCoordinates |
( |
const std::string & | filename, |
|
|
std::vector< double > & | x_m, |
|
|
std::vector< double > & | y_m, |
|
|
std::vector< double > & | z_m ) |
Reads XYZ coordinates from a CSV file.
- Parameters
-
| filename | The name of the CSV file to read from. |
| x_m | Vector to store the X coordinates. |
| y_m | Vector to store the Y coordinates. |
| z_m | Vector to store the Z coordinates. |
◆ saveImages()
| void saveImages |
( |
const std::vector< std::vector< double > > & | images, |
|
|
int | image_size, |
|
|
const std::string & | directory ) |
Saves images to CSV files in the specified directory.
- Parameters
-
| images | Vector of images. |
| image_size | Size of the images. |
| directory | The directory to save the image files. |
◆ saveUVWCoordinates()
| void saveUVWCoordinates |
( |
const std::vector< std::vector< double > > & | u, |
|
|
const std::vector< std::vector< double > > & | v, |
|
|
const std::vector< std::vector< double > > & | w, |
|
|
const std::string & | directory ) |
Saves UVW coordinates to CSV files in the specified directory.
- Parameters
-
| u | Vector of U coordinates for multiple directions. |
| v | Vector of V coordinates for multiple directions. |
| w | Vector of W coordinates for multiple directions. |
| directory | The directory to save the UVW coordinate files. |