Coder Social home page Coder Social logo

17655-d's People

Contributors

amine-bellamkaddem avatar darioalessandro avatar hangyao avatar kaylavanhaverbeck avatar kayvanhaverbeck avatar paulfenton avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

17655-d's Issues

Opening FlightData.dat

How do you open/read FlightData.dat?
also... i have a mac - i don't know if that complicates it?

Presentation date

From her comments on 02/14/2018:

A1 assignment presentations will be on 26 Feb Monday if everyone is fine with that. Otherwise you'll be presenting A1 presentation on 21 Feb

26 worked for Hang and I, but you guys should contact her if we need to do them on 21

System B produces more than 1 row per measurement

Hey Amine:

I noticed that System B produces more than 1 row per measurement.

Also, there are rows with no data.

Using flight data as the input you should generate exactly 100 rows of data:

xxd -c 72 FlightData.dat > FlightData.txt
wc -l FlightData.txt
     100 FlightData.txt

Please consider following SystemA approach which parses the measurements into Measurement object prior to performing any computations.

CC @hangyao

Meeting time?

Let's set up a meeting time over this weekend and next week.

I'll be available on Sat 17th, Sun 18th morning and evening, and after 6 pm CST during weekdays.

merged System B and System A and question about SystemC

Hey Paul I fixed System B and adjusted TransformFrameFilter

Turns out that it is not possible to use the SmoothFilter to both smooth the data and to filter out wildpoints, at least I was not able to figure it out in one shot.

I added

TransformFrameFilter filterNormalPoints = new TransformFrameFilter(frame -> {
            return (frame.smoothedPressure != null) ? Optional.of(frame) : Optional.empty();
        });

to filter out the normal points.

I tried to run C but I get:

Connected filter Thread-13 - Thread-12
Connected filter Thread-11 - Thread-10
Connected outplut Thread-12 to split filter: Thread-9
Connected outplut Thread-10 to split filter: Thread-9
Connected filter Thread-9 - Thread-8
Connected filter Thread-7 - Thread-6
Connected outplut Thread-8 to split filter: Thread-5
Connected outplut Thread-6 to split filter: Thread-5
Connected filter Thread-5 - Thread-4
Connected filter Thread-4 - Thread-1
Connected filter Thread-1 - Thread-0
Connected filter Thread-3 - Thread-2

Thread-0::Source reading file...

Thread-2::Source reading file...
Exception in thread "main" 
Thread-1::BytesToFrameFilter 
Thread-3::BytesToFrameFilter java.lang.IllegalThreadStateException
        at java.lang.Thread.start(Thread.java:708)
        at SystemC.main(SystemC.java:143)

System C does not write to any files and it gets stuck.

Hey @PaulFenton seems like the program get's stuck,

LessThan10K, OutputB and Wildpoint files are created but nothing is written to them.

here's the output:

GMs-MacBook-Air:SystemC darioalessandro$ javac -cp ../Library/:. SystemC.java 
GMs-MacBook-Air:SystemC darioalessandro$ java -cp ../Library/:. SystemC
Connected filter Thread-12 - Thread-11
Connected outplut Thread-13 to split filter: Thread-10
Connected outplut Thread-11 to split filter: Thread-10
Connected filter Thread-10 - Thread-9
Connected filter Thread-9 - Thread-8
Connected filter Thread-7 - Thread-6
Connected outplut Thread-8 to split filter: Thread-5
Connected outplut Thread-6 to split filter: Thread-5
Connected filter Thread-5 - Thread-4
Connected filter Thread-4 - Thread-1
Connected filter Thread-1 - Thread-0
Connected filter Thread-3 - Thread-2

Thread-2::Source reading file...

Thread-0::Source reading file...

Thread-1::BytesToFrameFilter 
Thread-3::BytesToFrameFilter 
Thread-5::SplitFilter 
Thread-6::TransformFrameFilter 
Thread-7::SinkMeasurementPrinter 
Thread-8::TransformFrameFilter 
Thread-10::SplitFilter 
Thread-11::TransformFrameFilter 
Thread-12::SinkMeasurementPrinter 
Thread-13::SinkMeasurementPrinter 2014 01 14::11:47:46:516      -170.73364      00552.74255     00050.54487

2014 01 14::11:47:47:016        -166.20843      03813.70494     -06268.91843

2014 01 14::11:47:47:517        -165.01764      04213.67056     00051.08063

2014 01 14::11:47:48:017        -156.60251      04228.31784     00052.29952

2014 01 14::11:47:48:517        -154.65986      04650.11854     00053.67705

2014 01 14::11:47:49:018        -154.25053      08758.94514     00053.70058

2014 01 14::11:47:50:519        -141.16070      13188.26473     00055.51911

2014 01 14::11:47:51:020        -129.62265      13266.37564     00055.65648

2014 01 14::11:47:49:518        -151.54545      08945.93708     00055.25844

2014 01 14::11:47:51:520        -129.04808      13866.60939     00055.71641

2014 01 14::11:47:52:020        -128.86012      13888.62388     00056.35755

2014 01 14::11:47:52:521        -124.49168      14448.25173     00056.42527 *

2014 01 14::11:47:53:021        -123.51992      15797.55621     00056.49298

2014 01 14::11:47:53:521        -123.06326      19781.80390     00057.16390

2014 01 14::11:47:54:021        -115.32577      25607.58483     00057.36652

2014 01 14::11:47:54:522        -112.91851      28377.70656     00057.84792

2014 01 14::11:47:55:022        -099.76686      29048.04923     00058.03679

2014 01 14::11:47:55:523        -097.85230      31488.53569     00058.63222

2014 01 14::11:47:56:023        -097.67624      35064.36835     00058.83584

2014 01 14::11:47:56:523        -096.25128      35717.15372     00059.67941

2014 01 14::11:47:57:023        -095.23479      36406.25570     00060.73620

2014 01 14::11:47:57:524        -087.99980      38816.80987     00060.82621

2014 01 14::11:47:58:024        -086.84597      42067.89903     00061.26840

2014 01 14::11:47:52:521        06936.38163

2014 01 14::11:47:58:524        -081.00565      43391.38496     00061.50650

2014 01 14::11:47:59:024        -080.77924      45125.35440     00062.25209

2014 01 14::11:47:59:524        -076.89343      48356.88026     00063.13627

2014 01 14::11:48:00:025        -073.97460      48527.28300     00063.42232

2014 01 14::11:48:00:526        -067.37720      49201.91998     00063.72457

2014 01 14::11:48:01:026        -053.04000      51386.03827     00063.79526

2014 01 14::11:48:01:527        -052.46510      51615.99943     00063.84319

2014 01 14::11:48:02:027        -047.00480      57350.87842     00064.03250

2014 01 14::11:48:02:527        -045.31821      59989.83987     00064.10793

2014 01 14::11:48:03:027        -044.89220      61157.37155     00064.92936

2014 01 14::11:48:03:527        -036.81339      62711.69575     00065.27451

2014 01 14::11:48:04:028        -032.47846      62802.25888     00065.47198

2014 01 14::11:48:04:528        -029.16975      65138.38666     00065.51506

2014 01 14::11:48:05:029        -021.04202      65599.92018     00066.39136 *

2014 01 14::11:48:05:029        08267.90235


Thread-2::End of file reached...

Thread-2::Read file complete, bytes read::4320 bytes written: 4320
2014 01 14::11:48:05:530        -015.01564      68493.91569     00067.26766

2014 01 14::11:48:06:030        -013.29288      68900.51177     00067.61460

2014 01 14::11:48:06:530        -011.66092      69470.49727     00068.17079 *

2014 01 14::11:48:07:030        -002.72134      69540.91876     00068.72697

2014 01 14::11:48:07:531        003.37988       70306.74479     00070.86708

2014 01 14::11:48:08:031        005.05573       75567.40407     00071.90687


Thread-3::Sink Exiting; bytes read: 43202014 01 14::11:48:08:531        011.98104       76530.30961     00072.37195

2014 01 14::11:48:09:032        026.54549       79625.30391     00072.55937

2014 01 14::11:48:09:532        036.50611       79807.96781     00073.65082

2014 01 14::11:48:06:530        -08349.86202

2014 01 14::11:48:10:032        039.87937       80196.67243     00073.65908

2014 01 14::11:48:10:532        041.27844       81944.04883     00073.89030

2014 01 14::11:48:11:032        041.33348       82019.23364     00074.43351

2014 01 14::11:48:11:533        042.83406       82249.05882     00075.03019

2014 01 14::11:48:12:033        043.02934       86864.27952     00075.94080

2014 01 14::11:48:12:533        048.52246       90564.50461     00076.16852

2014 01 14::11:48:13:033        053.63516       91018.17805     00076.27690

2014 01 14::11:48:13:534        054.10264       92100.21124     00076.43638

2014 01 14::11:48:14:035        064.37470       92263.94477     00076.53446

2014 01 14::11:48:14:535        065.42921       93041.00387     00077.78089 *

2014 01 14::11:48:15:036        065.46582       96407.05584     00079.02732

2014 01 14::11:48:15:536        066.46574       96883.37306     00079.19870

2014 01 14::11:48:14:535        -09545.02007

2014 01 14::11:48:16:036        074.61814       98693.45634     00079.26892

System C

Hi guys... my sister has been visiting from out of town, sorry I've been off the grid.

I plan on committing a rough draft of system C by the end of the day... got some local files started and will upload once I have them tested.

-Paul

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.