|
DP3
|
Classes | |
| class | Patch |
| A set of sources for which direction dependent effects are assumed to be equal. More... | |
| class | SkyModelCache |
| class | SourceDBWrapper |
Functions | |
| bool | CheckAnyOrientationIsAbsolute (const parmdb::SourceDBSkymodel &source_db, const std::vector< std::string > &patch_names) |
| Check whether any source in a sourcedb has absolute orientation. More... | |
| bool | CheckPolarized (const parmdb::SourceDBSkymodel &source_db, const std::vector< std::string > &patch_names) |
| bool | checkPolarized (parmdb::SourceDB &sourceDB, const std::vector< std::string > &patchNames, unsigned int nModel) |
| std::vector< std::shared_ptr< Patch > > | clusterProximateSources (const std::vector< std::shared_ptr< Patch >> &patchList, double proximityLimit) |
| bool | HasSkymodelExtension (const std::string &source_db_name) |
| std::vector< std::vector< std::string > > | MakeDirectionList (const std::vector< std::string > &packed_directions, const std::string &source_db_filename) |
| std::vector< std::shared_ptr< Patch > > | makeOnePatchPerComponent (const std::vector< std::shared_ptr< Patch >> &) |
| From a given patch list, create a new one with one patch per component. More... | |
| std::vector< std::shared_ptr< Patch > > | MakePatches (const parmdb::SourceDBSkymodel &source_db, const std::vector< std::string > &patch_names) |
| std::vector< std::shared_ptr< Patch > > | makePatches (parmdb::SourceDB &sourceDB, const std::vector< std::string > &patchNames, unsigned int nModel) |
| std::vector< std::string > | MakePatchList (const parmdb::SourceDBSkymodel &source_db, const std::vector< std::string > &patterns) |
| std::vector< std::string > | makePatchList (parmdb::SourceDB &sourceDB, std::vector< std::string > patterns) |
| std::vector< std::pair< std::shared_ptr< base::ModelComponent >, std::shared_ptr< Patch > > > | makeSourceList (std::vector< std::shared_ptr< Patch >> &patchList) |
| void | SetPatchIndices (std::vector< std::shared_ptr< Patch >> &patch_list) |
| bool dp3::model::CheckAnyOrientationIsAbsolute | ( | const parmdb::SourceDBSkymodel & | source_db, |
| const std::vector< std::string > & | patch_names | ||
| ) |
Check whether any source in a sourcedb has absolute orientation.
Check whether any source in a skymodel-sourcedb has absolute orientation.
| bool dp3::model::CheckPolarized | ( | const parmdb::SourceDBSkymodel & | source_db, |
| const std::vector< std::string > & | patch_names | ||
| ) |
| bool dp3::model::checkPolarized | ( | parmdb::SourceDB & | sourceDB, |
| const std::vector< std::string > & | patchNames, | ||
| unsigned int | nModel | ||
| ) |
| std::vector<std::shared_ptr<Patch> > dp3::model::clusterProximateSources | ( | const std::vector< std::shared_ptr< Patch >> & | patchList, |
| double | proximityLimit | ||
| ) |
|
inline |
| std::vector<std::vector<std::string> > dp3::model::MakeDirectionList | ( | const std::vector< std::string > & | packed_directions, |
| const std::string & | source_db_filename | ||
| ) |
Creates a list of directions, using packed directions and/or a SourceDB file.
| packed_directions | Packed direction lists. Each string should contain a list of directions, e.g., "[direction1, direction2, direction3]". |
| source_db_filename | A filename of a Source DB file. |
| std::vector<std::shared_ptr<Patch> > dp3::model::makeOnePatchPerComponent | ( | const std::vector< std::shared_ptr< Patch >> & | ) |
From a given patch list, create a new one with one patch per component.
| std::vector<std::shared_ptr<Patch> > dp3::model::MakePatches | ( | const parmdb::SourceDBSkymodel & | source_db, |
| const std::vector< std::string > & | patch_names | ||
| ) |
| std::vector<std::shared_ptr<Patch> > dp3::model::makePatches | ( | parmdb::SourceDB & | sourceDB, |
| const std::vector< std::string > & | patchNames, | ||
| unsigned int | nModel | ||
| ) |
| std::vector<std::string> dp3::model::MakePatchList | ( | const parmdb::SourceDBSkymodel & | source_db, |
| const std::vector< std::string > & | patterns | ||
| ) |
| std::vector<std::string> dp3::model::makePatchList | ( | parmdb::SourceDB & | sourceDB, |
| std::vector< std::string > | patterns | ||
| ) |
| std::vector< std::pair<std::shared_ptr<base::ModelComponent>, std::shared_ptr<Patch> > > dp3::model::makeSourceList | ( | std::vector< std::shared_ptr< Patch >> & | patchList | ) |
Create a source list (with patch name) from a patchlist Needed for efficient multithreading
| void dp3::model::SetPatchIndices | ( | std::vector< std::shared_ptr< Patch >> & | patch_list | ) |
Makes sure that every Patch's stored index is set to the index the patch has in the list.