Skip to content

Commit

Permalink
Fixing typos in js parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Platone committed Apr 21, 2022
1 parent 5e930fe commit 98d085b
Show file tree
Hide file tree
Showing 5 changed files with 309 additions and 272 deletions.
8 changes: 1 addition & 7 deletions scripts/idft.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions vlbi_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ void VLBI::Server::Dft(const char *model, const char *magnitude, const char *pha
vlbi_get_fft(GetContext(), model, magnitude, phase);
}

void VLBI::Server::Stack(const char *name, const char *model1, const char *model2)
{
vlbi_stack_models(GetContext(), name, model1, model2);
}

void VLBI::Server::Diff(const char *name, const char *model1, const char *model2)
{
vlbi_diff_models(GetContext(), name, model1, model2);
}

void VLBI::Server::Mask(const char *name, const char *model, const char *mask)
{
vlbi_apply_mask(GetContext(), name, model, mask);
Expand Down
16 changes: 16 additions & 0 deletions vlbi_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,22 @@ class Server
*/
void Mask(const char *name, const char *model, const char *mask);

/**
* \brief Stack a model with another model
* \param name The name of the new model
* \param model1 The name of the first model to be stacked
* \param model2 The name of the second model to be stacked
*/
void Stack(const char *name, const char *model1, const char *model2);

/**
* \brief Diff a model with another model
* \param name The name of the new model
* \param model1 The name of the first model
* \param model2 The name of the second model to be subtracted from model1
*/
void Diff(const char *name, const char *model1, const char *model2);

/**
* \brief Shift a model by its dimension in-place
* \param name The name of the model
Expand Down
Loading

0 comments on commit 98d085b

Please sign in to comment.