Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove event-logging from result-file #24

Open
rubenbaetens opened this issue Jun 2, 2014 · 3 comments
Open

Remove event-logging from result-file #24

rubenbaetens opened this issue Jun 2, 2014 · 3 comments

Comments

@rubenbaetens
Copy link
Contributor

I might be usefull to to have a script which removes event-logging from a simulation result file, rewriting it back to an equidistant grid file.

@saroele
Copy link
Owner

saroele commented Jun 3, 2014

what would be the use case? Obtaining smaller arrays?
Mind that to obtain correct 'sums', the events are needed to do a
time-vector based integration.

It would not be hard at all to obtain an array with equidistant values only
(pandas has a resampling fuction that does the job). We'd only have to
make sure both energies, flowrates and temperatures (and all the rest) are
treated correctly (aggregation based on mean, min/max, sum, ..?)

On Mon, Jun 2, 2014 at 9:30 AM, rubae [email protected] wrote:

I might be usefull to to have a script which removes event-logging from a
simulation result file, rewriting it back to an equidistant grid file.


Reply to this email directly or view it on GitHub
#24.

@rubenbaetens
Copy link
Contributor Author

The use case would be to be able to correctly compare simulation results
achieved with different settings.

On Tue, Jun 3, 2014 at 9:25 AM, saroele [email protected] wrote:

what would be the use case? Obtaining smaller arrays?
Mind that to obtain correct 'sums', the events are needed to do a
time-vector based integration.

It would not be hard at all to obtain an array with equidistant values
only
(pandas has a resampling fuction that does the job). We'd only have to
make sure both energies, flowrates and temperatures (and all the rest) are
treated correctly (aggregation based on mean, min/max, sum, ..?)

On Mon, Jun 2, 2014 at 9:30 AM, rubae [email protected] wrote:

I might be usefull to to have a script which removes event-logging from
a
simulation result file, rewriting it back to an equidistant grid file.


Reply to this email directly or view it on GitHub
#24.


Reply to this email directly or view it on GitHub
#24 (comment).

@saroele
Copy link
Owner

saroele commented Jun 3, 2014

so you would like to see the events removed, and the other values
unchanged.
Looks like an option of the pandas resample function.

On Tue, Jun 3, 2014 at 9:26 AM, rubae [email protected] wrote:

The use case would be to be able to correctly compare simulation results
achieved with different settings.

On Tue, Jun 3, 2014 at 9:25 AM, saroele [email protected] wrote:

what would be the use case? Obtaining smaller arrays?
Mind that to obtain correct 'sums', the events are needed to do a
time-vector based integration.

It would not be hard at all to obtain an array with equidistant values
only
(pandas has a resampling fuction that does the job). We'd only have to
make sure both energies, flowrates and temperatures (and all the rest)
are
treated correctly (aggregation based on mean, min/max, sum, ..?)

On Mon, Jun 2, 2014 at 9:30 AM, rubae [email protected] wrote:

I might be usefull to to have a script which removes event-logging
from
a
simulation result file, rewriting it back to an equidistant grid file.


Reply to this email directly or view it on GitHub
#24.


Reply to this email directly or view it on GitHub
#24 (comment).


Reply to this email directly or view it on GitHub
#24 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants